Set-CMClientStatusSetting
Updated: March 1, 2013
Applies To: System Center 2012 Configuration Manager SP1
Set-CMClientStatusSetting
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.
For more information about client settings, see About Client Settings in Configuration Manager.
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 executing the command.
Required? | false |
Position? | named |
Default Value | false |
Accept Pipeline Input? | false |
Accept Wildcard Characters? | false |
-WhatIf
Describes what would happen if you executed the command without actually executing the command.
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.
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
