Page History
...
Returns the daily plan orders for workflows scheduled for a number of JS7 ControllerControllers
SYNTAX
Get-JS7DailyPlanOrder [[-OrderId] <String>] [[-WorkflowPath] <String>] [[-WorkflowFolder] <String>] [[-SchedulePath] <String>] [[-FolderScheduleFolder] <String>] [-Recursive] [[-ControllerId] <String>] [[-Tag] <String[]>] [[-DateFrom] <DateTime>] [[-DateTo] <DateTime>] [[-RelativeDateFrom] <String>] [[-RelativeDateTo] <String>] [[-Timezone] <TimeZoneInfo>] [-Late] [-Planned] [-Pending] [-InProgress] [-RunningSubmitted] [-Blocked] [-Finished] [-Failed] [<CommonParameters>]
DESCRIPTION
The daily plan orders for workfows workflows of a number of JS7 Controllers are returned.
The following REST Web Service API resources are used:
* /daily_plan/orders
PARAMETERS
OrderId
-OrderId <String>
...
-WorkflowPath <String>
Optionally specifies the path and/or name of a workflow for which daily plan orders should be returned.
Required? | false |
Position? | 2 |
Default value | |
Accept pipeline input? | true (ByPropertyName) |
Accept wildcard characters? | false |
WorkflowFolder
-WorkflowFolder <String>
Required? | false |
Position? | 3 |
Default value | |
Accept pipeline input? | true (ByPropertyName) |
Accept wildcard characters? | false |
...
-SchedulePath <String>
Optionally specifies the path and/or name of a schedule for which daily plan orders should be returned.
Required? | false |
Position? | 34 |
Default value | |
Accept pipeline input? | true (ByPropertyName) |
Accept wildcard characters? | false |
...
ScheduleFolder
-Folder ScheduleFolder <String>
Optionally specifies the folder with workflows for which daily plan orders should be returned.
Required? | false |
Position? | 45 |
Default value/ | |
Accept pipeline input? | true (ByPropertyName) |
Accept wildcard characters? | false |
...
ControllerId
-ControllerId <String>
Limits results to orders assigned the specified Controller.
Required? | false |
Position? | 6 |
Default value | |
Accept pipeline input? | true (ByPropertyName) |
Accept wildcard characters? | false |
Tag
-Tag <String[]>
Filters orders by a list of tags.
If more than one tag is specified then they are separated by comma.
Required? | false |
Position? | 57 |
Default value | |
Accept pipeline input? | true (ByPropertyName) |
Accept wildcard characters? | false |
...
-DateFrom <DateTime>
Optionally specifies the date starting from which daily plan orders should be returned.
Consider that a UTC date has to be provided.
Default: Begin Beginning of the current day as a UTC date
Required? | false |
Position? | 68 |
Default value | (Get-Date (Get-Date).ToUniversalTime() -Format 'yyyy-MM-dd') |
Accept pipeline input? | true (ByPropertyName) |
Accept wildcard characters? | false |
...
-DateTo <DateTime>
Optionally specifies the date until which daily plan orders should be returned.
Consider that a UTC date has to be provided.
Default: End of the current day as a UTC date
Required? | false |
Position? | 79 |
Default value | |
Accept pipeline input? | true (ByPropertyName) |
Accept wildcard characters? | false |
...
-RelativeDateFrom <String>
Specifies a relative date starting from which daily plan orders should be returned, e.g.
* -1d, -2d: one day ago, two days ago
* +1d, +2d: one day later, two days later
* -1w, -2w: one week ago, two weeks ago
* +1w, +2w: one week later, two weeks later
* -1M, -2M: one month ago, two months ago
* +1M, +2M: one month later, two months later
* -1y, -2y: one year ago, two years ago
* +1y, +2y: one year later, two years later
Optionally a time offset can be specified, e.g. -1d+02:00, as otherwise midnight UTC is assumed.
This parameter takes precedence over the -DateFrom parameter.
Required? | false |
Position? | 810 |
Default value | |
Accept pipeline input? | true (ByPropertyName) |
Accept wildcard characters? | false |
...
-RelativeDateTo <String>
Specifies a relative date until which daily plan orders should be returned, e.g.
* -1d, -2d: one day ago, two days ago
* +1d, +2d: one day later, two days later
* -1w, -2w: one week ago, two weeks ago
* +1w, +2w: one week later, two weeks later
* -1M, -2M: one month ago, two months ago
* +1M, +2M: one month later, two months later
* -1y, -2y: one year ago, two years ago
* +1y, +2y: one year later, two years later
Optionally a time offset can be specified, e.g. -1d+02:00, as otherwise midnight UTC is assumed.
This parameter takes precedence over the -DateTo parameter.
Required? | false |
Position? | 911 |
Default value | |
Accept pipeline input? | true (ByPropertyName) |
Accept wildcard characters? | false |
...
-Timezone <TimeZoneInfo>
Specifies the timezone to which dates should be converted in the daily plan information.
A timezone can e.g. be specified like this:
Get-JSDailyPlan JSDailyPlanOrder -Timezone (Get-Timezone -Id 'GMT Standard Time')
All dates in JobScheduler JS7 are UTC and can be converted e.g. to the local time zone like this:
Get-JSDailyPlan JSDailyPlanOrder -Timezone (Get-Timezone)
Default: Dates are returned in UTC.
Required? | false |
Position? | 1012 |
Default value | (Get-Timezone -Id 'UTC') |
Accept pipeline input? | true (ByPropertyName) |
Accept wildcard characters? | false |
...
-Planned <SwitchParameter>
Specifies that daily plan orders are returned that did have not yet startbeen submitted.
Required? | false |
Position? | named |
Default value | False |
Accept pipeline input? | true (ByPropertyName) |
Accept wildcard characters? | false |
Pending
-Pending <SwitchParameter>
Required? | false |
Position? | named |
Default value | False |
Accept pipeline input? | true (ByPropertyName) |
Accept wildcard characters? | false |
InProgress
Submitted
-Submitted -InProgress <SwitchParameter>
Specifies that daily plan orders are returned for jobs, orders, job streams that did not yet completethat are submitted to a Controller for scheduled execution.
Required? | false |
Position? | named |
Default value | False |
Accept pipeline input? | true (ByPropertyName) |
Accept wildcard characters? | false |
Running
-Running <SwitchParameter>
Required? | false |
Position? | named |
Default value | False |
Accept pipeline input? | true (ByPropertyName) |
Accept wildcard characters? | false |
Blocked
-Blocked <SwitchParameter>
Required? | false |
Position? | named |
Default value | False |
Accept pipeline input? | true (ByPropertyName) |
Accept wildcard characters? | false |
Finished
-Finished <SwitchParameter>
Required? | false |
Position? | named |
Default value | False |
Accept pipeline input? | true (ByPropertyName) |
Accept wildcard characters? | false |
Failed
-Failed <SwitchParameter>
Specifies that daily plan orders are returned that completed with errorsdid complete.
Required? | false |
Position? | named |
Default value | False |
Accept pipeline input? | true (ByPropertyName) |
Accept wildcard characters? | false |
...
Returns today's daily plan orders for any jobs workflows with dates being converted to the local timezone.
...
Returns today's daily plan orders for any jobs workflows with dates being converted to the GMT timezone.
...
PS > $orders = Get-JS7DailyPlanOrder -Failed Submitted -Late
Returns today's daily plan orders for jobs that failed or that have been submitted but are late, i.e. that did not start at the expected point in time.
...
Returns the daily plan orders for the given indicated workflow.