Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Name

Export-JobSchedulerJobStream

SYNOPSIS

Exports job streams from the JOC Cockpit inventory.

SYNTAX

Export-JobSchedulerJobStream [[-JobStream] <String>] [[-Directory] <String>] [-Recursive] [[-Limit] <Int32>] [-WhatIf] [-Confirm] [<CommonParameters>]

DESCRIPTION

This cmdlet exports job streams from the JOC Cockpit inventory.

PARAMETERS

JobStream

-JobStream <String>
Specifies the name of a job stream 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 job streams 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 job streams.

Required?false
Position?named
Default valueFalse
Accept pipeline input?false
Accept wildcard characters?false

Limit

-Limit <Int32>
Limits the number of job streams exported.

By default a maximum of 10 000 job streams are exported.
The value -1 indicates that no limit should be applied.

Required?false
Position?3
Default value0
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

about_JobScheduler

EXAMPLES

-------------------------- EXAMPLE 1 --------------------------

PS > $jsExport = Export-JobSchedulerJobStream -JobStream my_jobstream

Exports the indicated job stream.

-------------------------- EXAMPLE 2 --------------------------

PS > $jsExport = Export-JobSchedulerJobStream -Directory /sos/some_folder

Exports any job streams from the indicated job stream folder.

-------------------------- EXAMPLE 3 --------------------------

PS > $jsExport = Export-JobSchedulerJobStream -Directory / -Recursive

Exports all job streams.