Name
Export-JobSchedulerCalendar
SYNOPSIS
Exports calendars from the JOC Cockpit inventory.
SYNTAX
Export-JobSchedulerCalendar [[-Calendar] <String>] [[-Directory] <String>] [-Recursive] [[-RegularExpression] <String>] [-WhatIf] [-Confirm] [<CommonParameters>]
DESCRIPTION
This cmdlet exports calendars from the JOC Cockpit inventory.
PARAMETERS
Calendar
-Calendar <String>
Specifies the path of a calendar for export.
Required? | false |
Position? | 1 |
Default value | |
Accept pipeline input? | true (ByPropertyName) |
Accept wildcard characters? | false |
Directory
-Directory <String>
Optionally specifies the directory for calendars that should be exported.
Required? | false |
Position? | 2 |
Default value | / |
Accept pipeline input? | true (ByPropertyName) |
Accept wildcard characters? | false |
Recursive
-Recursive <SwitchParameter>
Specifies that any sub-folders should be looked up if the -Directory parameter is used.
By default no sub-folders will be searched for calendars.
Required? | false |
Position? | named |
Default value | False |
Accept pipeline input? | false |
Accept wildcard characters? | false |
RegularExpression
-RegularExpression <String>
Limits export results to calendar names matching the regular expression.
Required? | false |
Position? | 3 |
Default value | |
Accept pipeline input? | true (ByPropertyName) |
Accept wildcard characters? | false |
WhatIf
-WhatIf <SwitchParameter>
Required? | false |
Position? | named |
Default value | |
Accept pipeline input? | false |
Accept wildcard characters? | false |
Confirm
-Confirm <SwitchParameter>
Required? | false |
Position? | named |
Default value | |
Accept pipeline input? | false |
Accept wildcard characters? | false |
RELATED LINKS
EXAMPLES
-------------------------- EXAMPLE 1 --------------------------
PS > $calExport = Export-JobSchedulerCalendar -Calendar "/Any Days"
Exports the indicated calendars.
-------------------------- EXAMPLE 2 --------------------------
PS > $calExport = Export-JobSchedulerCalendar -Directory /sos/some_folder
Exports any calendars from the indicated folder.
-------------------------- EXAMPLE 3 --------------------------
PS > $calExport = Export-JobSchedulerCalendar -Directory / -Recursive
Exports all calendars.