Get-SCACJob

Get-SCACJob

Gets jobs.

構文

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

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

詳細説明

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.

パラメーター

-All

Indicates that all job objects are returned.

エイリアス

なし

必須?

false

位置は?

1

既定値

なし

パイプライン入力を許可する

false

ワイルドカード文字を許可する

false

-Id<Guid>

Specifies a GUID that identifies a job.

エイリアス

なし

必須?

false

位置は?

1

既定値

なし

パイプライン入力を許可する

false

ワイルドカード文字を許可する

false

<CommonParameters>

このコマンドレットは次の共通パラメーターをサポートします。-Verbose、-Debug、-ErrorAction、-ErrorVariable、-OutBuffer、-OutVariable.詳細については、以下を参照してください。 about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216)。

入力

入力型は、コマンドレットにパイプできるオブジェクトの型です。

  • System.Management.Automation.SwitchParameter, System.Guid

出力

出力型は、コマンドレットによって生成されるオブジェクトの型です。

  • Microsoft.SystemCenter.CloudManager.PowerShell.ACJob

Example 1: Get all App Controller jobs

This command gets all jobs.

PS C:\> Get-SCACJob -All

Example 2: Get a job by its ID

This command gets the job with the ID of bb4915e4-e4bf-499d-8126-b6e80c63daff.

PS C:\> Get-SCACJob -ID "bb4915e4-e4bf-499d-8126-b6e80c63daff"