Convert-CMSchedule
Convert-CMSchedule
Converts schedule tokens into and from interval strings.
Syntax
Parameter Set: ByToken
Convert-CMSchedule [-ScheduleToken] <IResultObject[]> [ <CommonParameters>]
Parameter Set: ByString
Convert-CMSchedule [-ScheduleString] <String[]> [ <CommonParameters>]
Detailed Description
The Convert-CMSchedule cmdlet decodes and encodes schedule tokens into and from Microsoft System Center 2012 SP1 Configuration Manager interval strings.
Parameters
-ScheduleString<String[]>
Specifies an array of interval strings.
Aliases |
none |
Required? |
true |
Position? |
1 |
Default Value |
none |
Accept Pipeline Input? |
True (ByPropertyName) |
Accept Wildcard Characters? |
false |
-ScheduleToken<IResultObject[]>
Specifies an array of Configuration Manager schedule objects output from another cmdlet.
Aliases |
none |
Required? |
true |
Position? |
1 |
Default Value |
none |
Accept Pipeline Input? |
True (ByPropertyName) |
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: Convert a schedule string
This command converts a schedule string into a schedule token.
PS C:\> Convert-CMSchedule -ScheduleString "02C159C0381A200002C159C0381B200002C159C0381C200002C159C0381D200002C159C0381E2000"
Related topics
Get-CMClientStatusUpdateSchedule
Get-CMBaselineSummarizationSchedule
Get-CMOperatingSystemImageUpdateSchedule
Get-CMEndpointProtectionSummarizationSchedule