Get-CMComponentStatusSetting

Get-CMComponentStatusSetting

Gets Configuration Manager component status settings.

Syntax

Parameter Set: SearchByName
Get-CMComponentStatusSetting [-ComponentName <String> ] [-SiteCode <String> ] [-SiteSystemName <String[]> ] [ <CommonParameters>]

Detailed Description

The Get-CMComponentStatusSetting cmdlet gets component status setting objects. These objects contain thresholds for Microsoft System Center 2012 SP1 Configuration Manager component status messages.

Parameters

-ComponentName<String>

Specifies a name of a thread or process. A thread or process sends a component status message. You can use wildcards.

Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

-SiteCode<String>

Specifies an array of a site codes for Configuration Manager sites.

Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

-SiteSystemName<String[]>

Specifies an array of names of computers. A computer hosts a component that sends a status message. You can use wildcards.

Aliases

Name

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

<CommonParameters>

This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, and -OutVariable. For more information, see    about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216).

Inputs

The input type is the type of the objects that you can pipe to the cmdlet.

Outputs

The output type is the type of the objects that the cmdlet emits.

Examples

Example 1: Get settings for components

This command gets status setting objects for the site that has the site code CAS for components with names that begin with SMS_REPL.

PS C:\> Get-CMComponentStatusSetting -SiteCode "CAS" -ComponentName SMS_REPL*

Example 2: Get settings for components on specified systems

This command gets status setting objects for systems with names that begin with VM for components with names that begin with SMS_REPL.

PS C:\> Get-CMComponentStatusSetting -SiteSystemName VM* -ComponentName SMS_REPL*

Get-CMComponentStatusMessage