Set-CMClientStatusUpdateSchedule

Set-CMClientStatusUpdateSchedule

Modifies the schedule interval of the client status update task.

Syntax

Parameter Set: Set
Set-CMClientStatusUpdateSchedule -Interval <Int32> -UnitType <ClientStatusUpdateScheduleUnit> {Days | Hours} [-Confirm] [-WhatIf] [ <CommonParameters>]

Detailed Description

The Set-CMClientStatusUpdateSchedule cmdlet modifies the schedule interval of the client status update task. For more information, see How to Configure Client Status in Configuration Manager (https://go.microsoft.com/fwlink/?LinkId=247263) on TechNet.

Parameters

-Interval<Int32>

Specifies the number of hours or days between client status updates.

Aliases

none

Required?

true

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

-UnitType<ClientStatusUpdateScheduleUnit>

Specifies whether the interval between schedule updates is calculated in hours or days. Valid values are: Hours and Days.

Aliases

none

Required?

true

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 a client’s status update schedule

This command modifies the client status update schedule.

PS C:\> Set-CMClientStatusUpdateSchedule -Interval 23 -UnitType Hours

Get-CMClientStatusUpdateSchedule

Get-CMClientStatusSetting

Set-CMClientStatusSetting

How to Configure Client Status in Configuration Manager