Set-​CM​Status​Reporting​Component

Sets an object representing a status reporting component.

Syntax

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

Examples

Example 1: Set status reporting component

PS C:\> Set-CMStatusReportingComponent -SiteCode "CM1" -ClientReportType AllMilestones -ServerReportType AllMilestones

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

Required Parameters

-InputObject

Specifies an object output from another cmdlet.

Type:IResultObject
Position:Named
Default value:None
Accept pipeline input:True (ByValue)
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
Accept pipeline input:False
Accept wildcard characters:False

Optional Parameters

-ClientLogChecked

Indicates whether a client log is checked.

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

Indicates whether a client log failure is checked.

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

Specifies a type of client log. The acceptable values for this parameter are:- AllMilestones

  • AllMilestonesAndAllDetails
  • AllMilestonesAndAllDetails
  • ErrorMilestones
Type:StatusReportOrLogType
Parameter Sets:AllMilestonesAndAllDetails, AllMilestones, ErrorAndWarningMilestones, ErrorMilestones
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-ClientReportChecked

Indicates whether a client report is checked.

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

Indicates whether a client failure is checked.

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

Specifies a type of report. The acceptable values for this parameter are:- AllMilestones

  • AllMilestonesAndAllDetails
  • ErrorAndWarningMilestones
  • ErrorMilestones
Type:StatusReportOrLogType
Parameter Sets:AllMilestonesAndAllDetails, AllMilestones, ErrorAndWarningMilestones, ErrorMilestones
Position:Named
Default value:None
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
Accept pipeline input:False
Accept wildcard characters:False
-DisableWildcardHandling

DisableWildcardHandling treats wildcard characters as literal character values. Cannot be combined with ForceWildcardHandling.

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

ForceWildcardHandling processes wildcard characters and may lead to unexpected behavior (not recommended). Cannot be combined with DisableWildcardHandling.

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

Indicates whether a server log is checked.

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

Indicates whether a server log failure is checked.

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

Specifies a server log type. The acceptable values for this parameter are:- AllMilestones

  • AllMilestonesAndAllDetails
  • ErrorAndWarningMilestones
  • ErrorMilestones
Type:StatusReportOrLogType
Parameter Sets:AllMilestonesAndAllDetails, AllMilestones, ErrorAndWarningMilestones, ErrorMilestones
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-ServerReportChecked

Indicates whether a server report is checked.

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

Indicates whether a server report failure is checked.

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

Specifies a report type. The acceptable values for this parameter are:- AllMilestones

  • AllMilestonesAndAllDetails
  • ErrorAndWarningMilestones
  • ErrorMilestones
Type:StatusReportOrLogType
Parameter Sets:AllMilestonesAndAllDetails, AllMilestones, ErrorAndWarningMilestones, ErrorMilestones
Position:Named
Default value:None
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
Accept pipeline input:False
Accept wildcard characters:False
-WhatIf

Shows what would happen if the cmdlet runs. The cmdlet is not run.

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