You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 4 Next »

NAME

Remove-JobSchedulerOrder

SYNOPSIS

Removes a number of ad hoc orders in the JobScheduler Master.

SYNTAX

Remove-JobSchedulerOrder -Order <String> [-JobChain <String>] [-Path <String>] <CommonParameters>

DESCRIPTION

Only Ad hoc orders can be removed. Such orders are not permanently stored in files
but instead have been added on-the-fly. Typically ad hoc orders are created
for one-time execution of a job chain.

Orders are selected for removal

  • by a pipelined object, e.g. the output of the Get-Order cmdlet
  • by specifying an individual order with the -Order and -JobChain parameters.

PARAMETERS

Order

-Order <String>
Specifies the identifier of an order.

Required? true
Position? 1
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters?

JobChain

-JobChain <String>
Specifies the path and name of a job chain for which an order should be removed.
If the name of a job chain is specified then the -Directory parameter is used to determine the folder.

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

Path

-Path <String>

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

about_jobscheduler

EXAMPLES

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

C:\PS>Remove-Order -Order 234 -JobChain sos/reporting/Reporting

Removes the order from the specified job chain.

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

C:\PS>Get-Order -NoPermanent | Remove-Order

Retrieves and removes all ad hoc orders.

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

C:\PS>Get-Order -Directory /sos -NoPermanent | Remove-Order

Retrieves and removes all ad hoc orders from the specified directory including subfolders.

  • No labels