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>
이 cmdlet은 일반 매개 변수 -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer 및 -OutVariable을 지원합니다. 자세한 내용은 다음을 참조하세요. about_CommonParameters(https://go.microsoft.com/fwlink/p/?LinkID=113216).
입력
입력 유형은 cmdlet에 파이프할 수 있는 개체의 유형입니다.
출력
출력 유형은 cmdlet이 내보내는 개체의 유형입니다.
예제
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