Get-SCACJob

Applies To: System Center 2012 R2 App Controller

Get-SCACJob

Gets App Controller jobs.

Syntax

Parameter Set: AllJobs
Get-SCACJob [[-All]] [ <CommonParameters>]

Parameter Set: SingleJob
Get-SCACJob [[-Id] <Guid> ] [ <CommonParameters>]

Detailed Description

The Get-SCACJob cmlet gets 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

-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: Get all App Controller jobs

This command gets all App Controller jobs.

PS C:\> Get-SCACJob -All

Example 2: Get a job by its ID

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"