Get-SCACJob
Applies To: System Center 2012 - App Controller
Get-SCACJob
Gets App Controller jobs.
Syntax
Parameter Set: ParamSetMultipleJobs
Get-SCACJob [[-All]] [ <CommonParameters>]
Parameter Set: __AllParameterSets
Get-SCACJob [-ACServer <ACServer> ] [ <CommonParameters>]
Parameter Set: ParamSetSingleJob
Get-SCACJob [[-Id] <Guid> ] [ <CommonParameters>]
Detailed Description
The Get-SCACJob cmlet gets System Center 2012 - App Controller 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
-ACServer<ACServer>
Specifies an App Controller server object. To retrieve an App Controller server object, use the Get-SCACServer cmdlet.
Aliases |
none |
Required? |
false |
Position? |
named |
Default Value |
none |
Accept Pipeline Input? |
false |
Accept Wildcard Characters? |
false |
-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
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 App Controller jobs.
PS C:\> Get-SCACJob -All
-------------------------- EXAMPLE 2 --------------------------
Description
-----------
This command gets the App Controller job with the ID of bb4915e4-e4bf-499d-8126-b6e80c63daff.
PS C:\> Get-SCACJob -ID "bb4915e4-e4bf-499d-8126-b6e80c63daff"