Convert-CMSchedule

Converts schedule tokens into and from interval strings.

Syntax

Convert-CMSchedule
       [-ScheduleString] <String[]>
       [-DisableWildcardHandling]
       [-ForceWildcardHandling]
       [<CommonParameters>]
Convert-CMSchedule [-ScheduleToken]  [-DisableWildcardHandling] [-ForceWildcardHandling]
 []

Description

The Convert-CMSchedule cmdlet decodes and encodes schedule tokens into and from Microsoft System Center Configuration Manager interval strings.

Examples

Example 1: Convert a schedule string

PS C:\>Convert-CMSchedule -ScheduleString "02C159C0381A200002C159C0381B200002C159C0381C200002C159C0381D200002C159C0381E2000"

This command converts a schedule string into a schedule token.

Required Parameters

-ScheduleString

Specifies an array of interval strings.

Type:String[]
Required:True
Position:0
Default value:None
Accept pipeline input:True (ByPropertyName)
Accept wildcard characters:False
-ScheduleToken

Specifies an array of Configuration Manager schedule objects output from another cmdlet.

Type:IResultObject[]
Required:True
Position:0
Default value:None
Accept pipeline input:True (ByPropertyName)
Accept wildcard characters:False

Optional Parameters

-DisableWildcardHandling

Indicates that wildcard handling is disabled.

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

Indicates that wildcard handling is enabled.

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