Versions Compared

Key

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

...

Add-JobSchedulerOrder -JobChain <String> [-Order <String>] [-Directory <String>] [-Parameters <Hashtable>] [[-TitleT
itle] <String>] [-At <
String> <String>] [-State <String>] [-EndState <String>] -Replace -Immediate [<CommonParameters>
]

DESCRIPTION

Creates a temporary ad hoc order for execution with the specified job chain

...

-Order <String>
Optionally specifies the identifier of an order.

If no order identifier is specified then JobScheduler assigns a unique identifier.

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

Directory

-Directory <String>
Optionally specifies the folder where the job chain is located. The directory is determined
from the root folder, i.e. the "live" directory.

If the -JobChain parameter specifies the name of job chain then the location specified from the
-Directory parameter is added to the job chain location.

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

Parameters

-Parameters <Hashtable>
Specifies the parameters for the order. Parameters are created from a hashmap,
i.e. a list of names and values.

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

...

-Title <String>
Specifies the title of the order.

Required? false
Position? 45
Default value
Accept pipeline input? false
Accept wildcard characters?

...

  • now
    • specifies that the order should start immediately
  • now+1800
    • specifies that the order should start with a delay of 1800 seconds, i.e. 30 minutes later.
  • yyyy-mm-dd HH:MMSS
    • specifies that the order should start at the specified point in time.

Required? false
Position? 56
Default value
Accept pipeline input? false
Accept wildcard characters?

...

-State <String>
Specifies that the order should enter the job chain at the job chain node that
is assigend the specified state.

Required? false
Position? 67
Default value
Accept pipeline input? false
Accept wildcard characters?

...

-EndState <String>
Specifies that the order should leave the job chain at the job chain node that
is assigend the specified state.

Required? false
Position? 78
Default value
Accept pipeline input? false
Accept wildcard characters?

...

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

C:\PS>1..10 | Add-Order -JobChain /sos/reporting/Reporting

Adds 10 orders to a job chain.

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

...

-------------------------- EXAMPLE 3 4 --------------------------

...

-------------------------- EXAMPLE 4 5 --------------------------

...