Set-CMClientStatusUpdateSchedule

Modifies the schedule interval of the client status update task.

Syntax

Set-CMClientStatusUpdateSchedule
   -Interval <Int32>
   -UnitType <ClientStatusUpdateScheduleUnit>
   [-DisableWildcardHandling]
   [-ForceWildcardHandling]
   [-WhatIf]
   [-Confirm]
   [<CommonParameters>]

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.

Note

Run Configuration Manager cmdlets from the Configuration Manager site drive, for example PS XYZ:\>. For more information, see getting started.

Examples

Example 1: Modify a client's status update schedule

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

This command modifies the client status update schedule.

Parameters

-Confirm

Prompts you for confirmation before running the cmdlet.

Type:SwitchParameter
Aliases:cf
Position:Named
Default value:False
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-DisableWildcardHandling

This parameter treats wildcard characters as literal character values. You can't combine it with ForceWildcardHandling.

Type:SwitchParameter
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-ForceWildcardHandling

This parameter processes wildcard characters and may lead to unexpected behavior (not recommended). You can't combine it with DisableWildcardHandling.

Type:SwitchParameter
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-Interval

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

Type:Int32
Position:Named
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False

-UnitType

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

Type:ClientStatusUpdateScheduleUnit
Accepted values:Days, Hours
Position:Named
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False

-WhatIf

Shows what would happen if the cmdlet runs. The cmdlet doesn't run.

Type:SwitchParameter
Aliases:wi
Position:Named
Default value:False
Required:False
Accept pipeline input:False
Accept wildcard characters:False

Inputs

None

Outputs

System.Object