description | external help file | Module Name | ms.date | schema | title |
---|---|---|---|---|---|
Sets an object representing a status reporting component. |
AdminUI.PS.dll-Help.xml |
ConfigurationManager |
07/31/2020 |
2.0.0 |
Set-CMStatusReportingComponent |
Sets an object representing a status reporting component.
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>]
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.
This command sets a client report type and a server report type.
Set-CMStatusReportingComponent -SiteCode "CM1" -ClientReportType AllMilestones -ServerReportType AllMilestones
Indicates whether a client log is checked.
Type: Boolean
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Indicates whether a client log failure is checked.
Type: Boolean
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Specifies a type of client log.
Type: StatusReportOrLogType
Parameter Sets: (All)
Aliases:
Accepted values: AllMilestonesAndAllDetails, AllMilestones, ErrorAndWarningMilestones, ErrorMilestones
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Indicates whether a client report is checked.
Type: Boolean
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Indicates whether a client failure is checked.
Type: Boolean
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Specifies a type of report.
Type: StatusReportOrLogType
Parameter Sets: (All)
Aliases:
Accepted values: AllMilestonesAndAllDetails, AllMilestones, ErrorAndWarningMilestones, ErrorMilestones
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
This parameter treats wildcard characters as literal character values. You can't combine it with ForceWildcardHandling.
Type: SwitchParameter
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
This parameter processes wildcard characters and may lead to unexpected behavior (not recommended). You can't combine it with DisableWildcardHandling.
Type: SwitchParameter
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Specifies an object output from another cmdlet.
Type: IResultObject
Parameter Sets: SearchByValueMandatory
Aliases:
Required: True
Position: Named
Default value: None
Accept pipeline input: True (ByValue)
Accept wildcard characters: False
Specifies a name for a status reporting component in Configuration Manager.
Type: String
Parameter Sets: SearchByNameMandatory
Aliases: SiteName
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Indicates whether a server log is checked.
Type: Boolean
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Indicates whether a server log failure is checked.
Type: Boolean
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Specifies a server log type.
Type: StatusReportOrLogType
Parameter Sets: (All)
Aliases:
Accepted values: AllMilestonesAndAllDetails, AllMilestones, ErrorAndWarningMilestones, ErrorMilestones
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Indicates whether a server report is checked.
Type: Boolean
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Indicates whether a server report failure is checked.
Type: Boolean
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Specifies a report type.
Type: StatusReportOrLogType
Parameter Sets: (All)
Aliases:
Accepted values: AllMilestonesAndAllDetails, AllMilestones, ErrorAndWarningMilestones, ErrorMilestones
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Specifies a site code for a Configuration Manager site.
Type: String
Parameter Sets: SearchBySiteCodeMandatory
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Prompts you for confirmation before running the cmdlet.
Type: SwitchParameter
Parameter Sets: (All)
Aliases: cf
Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False
Shows what would happen if the cmdlet runs. The cmdlet doesn't run.
Type: SwitchParameter
Parameter Sets: (All)
Aliases: wi
Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.