Set-CMClientStatusSetting

Set-CMClientStatusSetting

Modifies client status settings.

Syntax

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

Detailed Description

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 SP1 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.

Parameters

-ClientPolicyDayInterval<Int32>

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

Aliases

PolicyInactiveInterval

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

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.

Aliases

HWInactiveInterval

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

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.

Aliases

DDRInactiveInterval

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

-HistoryCleanupDayInterval<Int32>

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

Aliases

CleanUpInterval

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

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.

Aliases

SWInactiveInterval

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

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.

Aliases

StatusInactiveInterval

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

-Confirm

Prompts you for confirmation before running the cmdlet.

Required?

false

Position?

named

Default Value

false

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-WhatIf

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

Required?

false

Position?

named

Default Value

false

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

<CommonParameters>

This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, and -OutVariable. For more information, see    about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216).

Inputs

The input type is the type of the objects that you can pipe to the cmdlet.

Outputs

The output type is the type of the objects that the cmdlet emits.

Examples

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

About Client Settings in Configuration Manager