Resume-WASComputer

Resume-WASComputer

Releases a hold on a test computer, and continues with the next action.

構文

Parameter Set: Default
Resume-WASComputer [-Computer] <WASComputer[]> [-Retry] [ <CommonParameters>]

詳細説明

The Resume-WASComputer cmdlet instructs to skip the current action on a specific computer and move to the next action. This command releases the hold on a specified computer. The Computer parameter is required.

パラメーター

-Computer<WASComputer[]>

Specifies the computer or computers that you want to resume. This is a required parameter.

エイリアス

なし

必須?

true

位置は?

1

既定値

なし

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

true (ByValue)

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

false

-Retry

Resumes the job and retries the action that failed, before going on to the next action.

エイリアス

なし

必須?

false

位置は?

named

既定値

なし

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

false

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

false

<CommonParameters>

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

入力

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

出力

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

Example 1

Gets the test computer named "TestComputer1", saves it as a variable, and then resumes the computer. This releases the hold on the computer so that it can continue with the next action.

PS C:\> $Computer = Get-WASComputer -ComputerName 'TestComputer1'
PS C:\> Resume-WASComputer -Computer $Computer

Example 2

Gets an array of all the test computers in inventory, saves it as a variable, and then resumes all the computer in the array. This releases the hold on them so that the next action can continue.

PS C:\> $Computer = Get-WASComputer
PS C:\> Resume-WASComputer -Computer $Computer

関連トピック

Get-WASComputer

Windows Assessment Services Technical Reference