Versions Compared

Key

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

...

Suspend-JobSchedulerJobChain

SYNOPSIS

Suspends a number of job chains in the JobScheduler Master.

...

Suspend-JobSchedulerJobChain [-JobChain] <String> [[-Directory] <String>] [[-AuditComment] <String>] [[-AuditTimeSpent] <Int32>] [[-AuditTicketLink] <Uri>] [<CommonParameters>]

DESCRIPTION

This cmdlet suspends ("stops") job chians in a JobScheduler Master.
Any orders added to the job chain further on will wait until the job chain is resumed ("unstopped").is an alias for Update-JobSchedulerJobChain -Action "suspend"

PARAMETERS

JobChain

-JobChain <String>
Specifies the path and name of a job chain that should be suspended.

The parameter -JobChain has to be specified if no pipelined job chain objects are used.

...

Required?false
Position?2
Default value/
Accept pipeline input?true (ByPropertyName)
Accept wildcard characters?false

AuditComment

...

AuditTimeSpent

...

Required?false
Position?4
Default value0
Accept pipeline input?true (ByPropertyName)
Accept wildcard characters?false

...

Required?false
Position?5
Default valueAccept pipeline input?true (ByPropertyName)
Accept wildcard characters?false

...

PS > Get-JobSchedulerJobChain -Directory / some_path -Recursive NoSubfolders | Suspend-JobSchedulerJobChain

Suspends job chains that are configured with the root folder ("some_path" and any sub-folders recursivelylive" directory) without consideration of subfolders.

-------------------------- EXAMPLE 4 --------------------------

...