Set-CMStatusReportingComponent

Set-CMStatusReportingComponent

Sets an object representing a status reporting component.

構文

Parameter Set: SearchBySiteCodeMandatory
Set-CMStatusReportingComponent -SiteCode <String> [-ClientLogChecked <Boolean> ] [-ClientLogFailureChecked <Boolean> ] [-ClientLogType <StatusReportOrLogType> {AllMilestones | AllMilestonesAndAllDetails | ErrorAndWarningMilestones | ErrorMilestones} ] [-ClientReportChecked <Boolean> ] [-ClientReportFailureChecked <Boolean> ] [-ClientReportType <StatusReportOrLogType> {AllMilestones | AllMilestonesAndAllDetails | ErrorAndWarningMilestones | ErrorMilestones} ] [-ServerLogChecked <Boolean> ] [-ServerLogFailureChecked <Boolean> ] [-ServerLogType <StatusReportOrLogType> {AllMilestones | AllMilestonesAndAllDetails | ErrorAndWarningMilestones | ErrorMilestones} ] [-ServerReportChecked <Boolean> ] [-ServerReportFailureChecked <Boolean> ] [-ServerReportType <StatusReportOrLogType> {AllMilestones | AllMilestonesAndAllDetails | ErrorAndWarningMilestones | ErrorMilestones} ] [-Confirm] [-WhatIf] [ <CommonParameters>]

Parameter Set: SearchByNameMandatory
Set-CMStatusReportingComponent -Name <String> [-ClientLogChecked <Boolean> ] [-ClientLogFailureChecked <Boolean> ] [-ClientLogType <StatusReportOrLogType> {AllMilestones | AllMilestonesAndAllDetails | ErrorAndWarningMilestones | ErrorMilestones} ] [-ClientReportChecked <Boolean> ] [-ClientReportFailureChecked <Boolean> ] [-ClientReportType <StatusReportOrLogType> {AllMilestones | AllMilestonesAndAllDetails | ErrorAndWarningMilestones | ErrorMilestones} ] [-ServerLogChecked <Boolean> ] [-ServerLogFailureChecked <Boolean> ] [-ServerLogType <StatusReportOrLogType> {AllMilestones | AllMilestonesAndAllDetails | ErrorAndWarningMilestones | ErrorMilestones} ] [-ServerReportChecked <Boolean> ] [-ServerReportFailureChecked <Boolean> ] [-ServerReportType <StatusReportOrLogType> {AllMilestones | AllMilestonesAndAllDetails | ErrorAndWarningMilestones | ErrorMilestones} ] [-Confirm] [-WhatIf] [ <CommonParameters>]

Parameter Set: SearchByValueMandatory
Set-CMStatusReportingComponent -InputObject <IResultObject> [-ClientLogChecked <Boolean> ] [-ClientLogFailureChecked <Boolean> ] [-ClientLogType <StatusReportOrLogType> {AllMilestones | AllMilestonesAndAllDetails | ErrorAndWarningMilestones | ErrorMilestones} ] [-ClientReportChecked <Boolean> ] [-ClientReportFailureChecked <Boolean> ] [-ClientReportType <StatusReportOrLogType> {AllMilestones | AllMilestonesAndAllDetails | ErrorAndWarningMilestones | ErrorMilestones} ] [-ServerLogChecked <Boolean> ] [-ServerLogFailureChecked <Boolean> ] [-ServerLogType <StatusReportOrLogType> {AllMilestones | AllMilestonesAndAllDetails | ErrorAndWarningMilestones | ErrorMilestones} ] [-ServerReportChecked <Boolean> ] [-ServerReportFailureChecked <Boolean> ] [-ServerReportType <StatusReportOrLogType> {AllMilestones | AllMilestonesAndAllDetails | ErrorAndWarningMilestones | ErrorMilestones} ] [-Confirm] [-WhatIf] [ <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.

パラメーター

-ClientLogChecked<Boolean>

Indicates whether a client log is checked.

エイリアス

なし

必須?

false

位置は?

named

既定値

なし

パイプライン入力を許可する

True (ByPropertyName)

ワイルドカード文字を許可する

false

-ClientLogFailureChecked<Boolean>

Indicates whether a client log failure is checked.

エイリアス

なし

必須?

false

位置は?

named

既定値

なし

パイプライン入力を許可する

True (ByPropertyName)

ワイルドカード文字を許可する

false

-ClientLogType<StatusReportOrLogType>

Specifies a type of client log. Valid values are:

-- AllMilestones
-- AllMilestonesAndAllDetails
-- AllMilestonesAndAllDetails
-- ErrorMilestones

エイリアス

なし

必須?

false

位置は?

named

既定値

なし

パイプライン入力を許可する

True (ByPropertyName)

ワイルドカード文字を許可する

false

-ClientReportChecked<Boolean>

Indicates whether a client report is checked.

エイリアス

なし

必須?

false

位置は?

named

既定値

なし

パイプライン入力を許可する

True (ByPropertyName)

ワイルドカード文字を許可する

false

-ClientReportFailureChecked<Boolean>

Indicates whether a client failure is checked.

エイリアス

なし

必須?

false

位置は?

named

既定値

なし

パイプライン入力を許可する

True (ByPropertyName)

ワイルドカード文字を許可する

false

-ClientReportType<StatusReportOrLogType>

Specifies a type of report. Valid values are:

-- AllMilestones
-- AllMilestonesAndAllDetails
-- ErrorAndWarningMilestones
-- ErrorMilestones

エイリアス

なし

必須?

false

位置は?

named

既定値

なし

パイプライン入力を許可する

True (ByPropertyName)

ワイルドカード文字を許可する

false

-InputObject<IResultObject>

Specifies an object output from another cmdlet.

エイリアス

なし

必須?

true

位置は?

named

既定値

なし

パイプライン入力を許可する

True (ByPropertyName)

ワイルドカード文字を許可する

false

-Name<String>

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

エイリアス

SiteName

必須?

true

位置は?

named

既定値

なし

パイプライン入力を許可する

True (ByPropertyName)

ワイルドカード文字を許可する

false

-ServerLogChecked<Boolean>

Indicates whether a server log is checked.

エイリアス

なし

必須?

false

位置は?

named

既定値

なし

パイプライン入力を許可する

True (ByPropertyName)

ワイルドカード文字を許可する

false

-ServerLogFailureChecked<Boolean>

Indicates whether a server log failure is checked.

エイリアス

なし

必須?

false

位置は?

named

既定値

なし

パイプライン入力を許可する

True (ByPropertyName)

ワイルドカード文字を許可する

false

-ServerLogType<StatusReportOrLogType>

Specifies a server log type. Valid values are:

-- AllMilestones
-- AllMilestonesAndAllDetails
-- ErrorAndWarningMilestones
-- ErrorMilestones

エイリアス

なし

必須?

false

位置は?

named

既定値

なし

パイプライン入力を許可する

True (ByPropertyName)

ワイルドカード文字を許可する

false

-ServerReportChecked<Boolean>

Indicates whether a server report is checked.

エイリアス

なし

必須?

false

位置は?

named

既定値

なし

パイプライン入力を許可する

True (ByPropertyName)

ワイルドカード文字を許可する

false

-ServerReportFailureChecked<Boolean>

Indicates whether a server report failure is checked.

エイリアス

なし

必須?

false

位置は?

named

既定値

なし

パイプライン入力を許可する

True (ByPropertyName)

ワイルドカード文字を許可する

false

-ServerReportType<StatusReportOrLogType>

Specifies a report type. Valid values are:

-- AllMilestones
-- AllMilestonesAndAllDetails
-- ErrorAndWarningMilestones
-- ErrorMilestones

エイリアス

なし

必須?

false

位置は?

named

既定値

なし

パイプライン入力を許可する

True (ByPropertyName)

ワイルドカード文字を許可する

false

-SiteCode<String>

Specifies a site code for a Microsoft System Center 2012 Configuration Manager site.

エイリアス

なし

必須?

true

位置は?

named

既定値

なし

パイプライン入力を許可する

True (ByPropertyName)

ワイルドカード文字を許可する

false

-Confirm

コマンドレットを実行する前に、ユーザーに確認を求めます。

必須?

false

位置は?

named

既定値

false

パイプライン入力を許可する

false

ワイルドカード文字を許可する

false

-WhatIf

コマンドレットを実行するとどのような結果になるかを表示します。コマンドレットは実行されません。

必須?

false

位置は?

named

既定値

false

パイプライン入力を許可する

false

ワイルドカード文字を許可する

false

<CommonParameters>

このコマンドレットは次の共通パラメーターをサポートします。-Verbose、-Debug、-ErrorAction、-ErrorVariable、-OutBuffer、-OutVariable.詳細については、以下を参照してください。 about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216)。

入力

入力型は、コマンドレットにパイプできるオブジェクトの型です。

出力

出力型は、コマンドレットによって生成されるオブジェクトの型です。

Example 1: Set status reporting component

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

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

関連トピック

Get-CMStatusReportingComponent