Get-SCDWJobSchedule
Get-SCDWJobSchedule
Gets scheduling information for data warehouse jobs.
Syntax
Parameter Set: Default
Get-SCDWJobSchedule [-ComputerName <String> ] [-JobName <String> ] [ <CommonParameters>]
Detailed Description
The Get-SCDWJobSchedule cmdlet provides scheduling information for data warehouse jobs. You can either use the JobName parameter to specify a specific job or omit that parameter to display scheduling information for all data warehouse jobs.
Parameters
-ComputerName<String>
Specifies the name of the computer on which the System Center Data Access service is running. You can omit this parameter only if the System Center Data Access Service is running on the same computer that has Service Manager installed.
Aliases |
none |
Required? |
false |
Position? |
named |
Default Value |
none |
Accept Pipeline Input? |
false |
Accept Wildcard Characters? |
false |
-JobName<String>
Specifies the job name for which to display scheduling information.
Aliases |
none |
Required? |
false |
Position? |
named |
Default Value |
none |
Accept Pipeline Input? |
false |
Accept Wildcard Characters? |
false |
<CommonParameters>
This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, and -OutVariable. For more information, see about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216).
Inputs
The input type is the type of the objects that you can pipe to the cmdlet.
None.
You cannot pipe input to this cmdlet.
Outputs
The output type is the type of the objects that the cmdlet emits.
- Microsoft.EnterpriseManagement.OrchestrationJob
Examples
Example 1: Display the job schedule for a job
This command displays the job schedule for the Transform.Common
job.
PS C:\> Get-SCDWJobSchedule -ComputerName "serverDW72" -JobName "Transform.Common"
Example 2: Display all jobs and their run times
This command displays all jobs and their run times.
PS C:\> Get-SCDWJobSchedule -ComputerName "serverDW72" | Format-Table -Property Name, LastRunTime, NextRunTime -AutoSize