Set-CMStatusReportingComponent

Sets an object representing a status reporting component.

Syntax

Set-CMStatusReportingComponent
   [-ClientLogChecked <Boolean>]
   [-ClientLogFailureChecked <Boolean>]
   [-ClientLogType <StatusReportOrLogType>]
   [-ClientReportChecked <Boolean>]
   [-ClientReportFailureChecked <Boolean>]
   [-ClientReportType <StatusReportOrLogType>]
   -InputObject <IResultObject>
   [-ServerLogChecked <Boolean>]
   [-ServerLogFailureChecked <Boolean>]
   [-ServerLogType <StatusReportOrLogType>]
   [-ServerReportChecked <Boolean>]
   [-ServerReportFailureChecked <Boolean>]
   [-ServerReportType <StatusReportOrLogType>]
   [-DisableWildcardHandling]
   [-ForceWildcardHandling]
   [-WhatIf]
   [-Confirm]
   [<CommonParameters>]
Set-CMStatusReportingComponent
   [-ClientLogChecked <Boolean>]
   [-ClientLogFailureChecked <Boolean>]
   [-ClientLogType <StatusReportOrLogType>]
   [-ClientReportChecked <Boolean>]
   [-ClientReportFailureChecked <Boolean>]
   [-ClientReportType <StatusReportOrLogType>]
   -Name <String>
   [-ServerLogChecked <Boolean>]
   [-ServerLogFailureChecked <Boolean>]
   [-ServerLogType <StatusReportOrLogType>]
   [-ServerReportChecked <Boolean>]
   [-ServerReportFailureChecked <Boolean>]
   [-ServerReportType <StatusReportOrLogType>]
   [-DisableWildcardHandling]
   [-ForceWildcardHandling]
   [-WhatIf]
   [-Confirm]
   [<CommonParameters>]
Set-CMStatusReportingComponent
   [-ClientLogChecked <Boolean>]
   [-ClientLogFailureChecked <Boolean>]
   [-ClientLogType <StatusReportOrLogType>]
   [-ClientReportChecked <Boolean>]
   [-ClientReportFailureChecked <Boolean>]
   [-ClientReportType <StatusReportOrLogType>]
   [-ServerLogChecked <Boolean>]
   [-ServerLogFailureChecked <Boolean>]
   [-ServerLogType <StatusReportOrLogType>]
   [-ServerReportChecked <Boolean>]
   [-ServerReportFailureChecked <Boolean>]
   [-ServerReportType <StatusReportOrLogType>]
   [-SiteCode <String>]
   [-DisableWildcardHandling]
   [-ForceWildcardHandling]
   [-WhatIf]
   [-Confirm]
   [<CommonParameters>]

Description

The Set-CMStatusReportingComponent cmdlet sets an object that represents a status reporting component. A status reporting component object specifies information about the client configuration and server configuration components.

You can configure the reporting component to check log files and monitor the severity of entries in the log files.

Note

Run Configuration Manager cmdlets from the Configuration Manager site drive, for example PS XYZ:\>. For more information, see getting started.

Examples

Example 1: Set status reporting component

This command sets a client report type and a server report type.

Set-CMStatusReportingComponent -SiteCode "CM1" -ClientReportType AllMilestones -ServerReportType AllMilestones

Parameters

-ClientLogChecked

Indicates whether a client log is checked.

Type:Boolean
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-ClientLogFailureChecked

Indicates whether a client log failure is checked.

Type:Boolean
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-ClientLogType

Specifies a type of client log.

Type:StatusReportOrLogType
Accepted values:AllMilestonesAndAllDetails, AllMilestones, ErrorAndWarningMilestones, ErrorMilestones
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-ClientReportChecked

Indicates whether a client report is checked.

Type:Boolean
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-ClientReportFailureChecked

Indicates whether a client failure is checked.

Type:Boolean
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-ClientReportType

Specifies a type of report.

Type:StatusReportOrLogType
Accepted values:AllMilestonesAndAllDetails, AllMilestones, ErrorAndWarningMilestones, ErrorMilestones
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-Confirm

Prompts you for confirmation before running the cmdlet.

Type:SwitchParameter
Aliases:cf
Position:Named
Default value:False
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-DisableWildcardHandling

This parameter treats wildcard characters as literal character values. You can't combine it with ForceWildcardHandling.

Type:SwitchParameter
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-ForceWildcardHandling

This parameter processes wildcard characters and may lead to unexpected behavior (not recommended). You can't combine it with DisableWildcardHandling.

Type:SwitchParameter
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-InputObject

Specifies an object output from another cmdlet.

Type:IResultObject
Position:Named
Default value:None
Required:True
Accept pipeline input:True
Accept wildcard characters:False

-Name

Specifies a name for a status reporting component in Configuration Manager.

Type:String
Aliases:SiteName
Position:Named
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False

-ServerLogChecked

Indicates whether a server log is checked.

Type:Boolean
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-ServerLogFailureChecked

Indicates whether a server log failure is checked.

Type:Boolean
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-ServerLogType

Specifies a server log type.

Type:StatusReportOrLogType
Accepted values:AllMilestonesAndAllDetails, AllMilestones, ErrorAndWarningMilestones, ErrorMilestones
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-ServerReportChecked

Indicates whether a server report is checked.

Type:Boolean
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-ServerReportFailureChecked

Indicates whether a server report failure is checked.

Type:Boolean
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-ServerReportType

Specifies a report type.

Type:StatusReportOrLogType
Accepted values:AllMilestonesAndAllDetails, AllMilestones, ErrorAndWarningMilestones, ErrorMilestones
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-SiteCode

Specifies a site code for a Configuration Manager site.

Type:String
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-WhatIf

Shows what would happen if the cmdlet runs. The cmdlet doesn't run.

Type:SwitchParameter
Aliases:wi
Position:Named
Default value:False
Required:False
Accept pipeline input:False
Accept wildcard characters:False

Inputs

Microsoft.ConfigurationManagement.ManagementProvider.IResultObject