Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Get-SCACJob
Gets jobs.
Syntax
Parameter Set: AllJobs
Get-SCACJob [[-All]] [ <CommonParameters>]
Parameter Set: SingleJob
Get-SCACJob [[-Id] <Guid> ] [ <CommonParameters>]
Detailed Description
The Get-SCACJob cmlet gets jobs. You can get all jobs, or a single job by its ID. If neither the All nor the ID parameter is specified, then all jobs started in the previous 48 hours are returned.
Parameters
-All
Indicates that all job objects are returned.
Aliases |
none |
Required? |
false |
Position? |
1 |
Default Value |
none |
Accept Pipeline Input? |
false |
Accept Wildcard Characters? |
false |
-Id<Guid>
Specifies a GUID that identifies a job.
Aliases |
none |
Required? |
false |
Position? |
1 |
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.
- System.Management.Automation.SwitchParameter, System.Guid
Outputs
The output type is the type of the objects that the cmdlet emits.
- Microsoft.SystemCenter.CloudManager.PowerShell.ACJob
Examples
-------------------------- EXAMPLE 1 --------------------------
Description
-----------
This command gets all jobs.
PS C:\> Get-SCACJob -All
-------------------------- EXAMPLE 2 --------------------------
Description
-----------
This command gets the job with the ID of bb4915e4-e4bf-499d-8126-b6e80c63daff.
PS C:\> Get-SCACJob -ID "bb4915e4-e4bf-499d-8126-b6e80c63daff"