NAME
Start-JobSchedulerOrder
SYNOPSIS
Resets a number of orders in the JobScheduler Master.
SYNTAX
Start-JobSchedulerOrder -Order <String> -JobChain <String> [-Parameters <Hashtable>] [-Title <String>] [-At <
String>] [-State <String>] [-EndState <String>] <CommonParameters>
DESCRIPTION
This cmdlet is an alias for Update-Order -Action reset
PARAMETERS
Order
-Order <String>
Specifies the identifier of an order.
Both parameters -Order and -JobChain have to be specified if no pipelined order objects are used.
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 orders should be reset.
Both parameters -Order and -JobChain have to be specified if no pipelined order objects are used.
Required? true
Position? 2
Default value
Accept pipeline input? true (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? 3
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters?
Title
-Title <String>
Specifies the title of the order.
Required? false
Position? 4
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters?
At
-At <String>
Specifies the point in time when the order should start:
- 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? 5
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters?
State
-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? 6
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters?
EndState
-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? 7
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters?
RELATED LINKS
about_jobscheduler
EXAMPLES
-------------------------- EXAMPLE 1 --------------------------
C:\PS>Reset-Order -Order Reporting -JobChain /sos/reporting/Reporting
Resets the order "Reporting" from the specified job chain.
-------------------------- EXAMPLE 2 --------------------------
C:\PS>Get-Order | Reset-Order
Resets all orders for all job chains.
-------------------------- EXAMPLE 3 --------------------------
C:\PS>Get-Order -Directory / -NoSubfolders | Reset-Order
Resets orders that are configured with the root folder ("live" directory)
without consideration of subfolders.
-------------------------- EXAMPLE 4 --------------------------
C:\PS>Get-Order -JobChain /test/globals/chain1 | Reset-Order
Resets all orders for the specified job chain.