Set-CMClientStatusSetting

Set-CMClientStatusSetting

Modifies client status settings.

構文

Parameter Set: Set
Set-CMClientStatusSetting [-ClientPolicyDayInterval <Int32> ] [-HardwareInventoryDayInterval <Int32> ] [-HeartbeatDiscoveryDayInterval <Int32> ] [-HistoryCleanupDayInterval <Int32> ] [-SoftwareInventoryDayInterval <Int32> ] [-StatusMessageDayInterval <Int32> ] [-Confirm] [-WhatIf] [ <CommonParameters>]

詳細説明

The Set-CMClientStatusSetting cmdlet modifies client status settings. These settings determine the data collection intervals for individual client monitoring activities in Microsoft System Center 2012 Configuration Manager.

For more information about client settings, see About Client Settings in Configuration Manager (https://go.microsoft.com/fwlink/?LinkId=266226) in the TechNet library.

パラメーター

-ClientPolicyDayInterval<Int32>

Specifies the number of days since a client requested policy. The default value is 7 days.

エイリアス

PolicyInactiveInterval

必須?

false

位置は?

named

既定値

なし

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

True (ByPropertyName)

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

false

-HardwareInventoryDayInterval<Int32>

Specifies the number of days since a client computer has sent a hardware inventory record to the site database. The default value is 7 days.

エイリアス

HWInactiveInterval

必須?

false

位置は?

named

既定値

なし

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

True (ByPropertyName)

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

false

-HeartbeatDiscoveryDayInterval<Int32>

Specifies the number of days since a client computer sent a heartbeat discovery record to the site database. The default value is 7 days.

エイリアス

DDRInactiveInterval

必須?

false

位置は?

named

既定値

なし

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

True (ByPropertyName)

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

false

-HistoryCleanupDayInterval<Int32>

Specifies how long you want the client status history to remain in the site database. The default value is 31 days.

エイリアス

CleanUpInterval

必須?

false

位置は?

named

既定値

なし

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

True (ByPropertyName)

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

false

-SoftwareInventoryDayInterval<Int32>

Specifies the number of days since a client computer sent a software inventory record to the site database. The default value is 7 days.

エイリアス

SWInactiveInterval

必須?

false

位置は?

named

既定値

なし

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

True (ByPropertyName)

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

false

-StatusMessageDayInterval<Int32>

Specifies the number of days since a client computer sent status messages to the site database. The default value is 7 days.

エイリアス

StatusInactiveInterval

必須?

false

位置は?

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: Modify all client status settings

This command modifies all client status settings.

PS C:\> Set-CMClientStatusSetting -ClientPolicyDayInterval 2 -HeartbeatDiscoveryDayInterval 3 -HardwareInventoryDayInterval 4 -SoftwareInventoryDayInterval 5 -StatusMessageDayInterval 6 -HistoryCleanupDayInterval 7

Example 2: Modify the Client Policy setting

This command modifies the client policy day setting only.

PS C:\> Set-CMClientStatusSetting -ClientPolicyDayInterval 5

関連トピック

Get-CMClientStatusSetting

Update-CMClientStatus

Get-CMClientStatusUpdateSchedule