Get-CMStatusReportingComponent

Get-CMStatusReportingComponent

Gets an object representing a status reporting component.

Syntax

Parameter Set: SearchBySiteCodeMandatory
Get-CMStatusReportingComponent -SiteCode <String> [ <CommonParameters>]

Parameter Set: SearchByName
Get-CMStatusReportingComponent -SiteSystemServerName <String[]> [ <CommonParameters>]

Detailed Description

The Get-CMStatusReportingComponent cmdlet gets an object that represents the status reporting component. This object provides information about the client configuration and server configuration components.

Parameters

-SiteCode<String>

Specifies a site code of a Configuration Manager site.

Aliases

none

Required?

true

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

-SiteSystemServerName<String[]>

Specifies an array of site system server names.

Aliases

none

Required?

true

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 status reporting components

This command gets the status reporting components that Set-CMStatusReportingComponent configures for the site.

PS C:\> Get-CMStatusReportingComponent -SiteCode "CM1"

Set-CMStatusReportingComponent