Resume-WASComputer
Resume-WASComputer
Releases a hold on a test computer, and continues with the next action.
Syntax
Parameter Set: Default
Resume-WASComputer [-Computer] <WASComputer[]> [-Retry] [ <CommonParameters>]
Detailed Description
The Resume-WASComputer cmdlet instructs Windows Assessment Services 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.
Parameters
-Computer<WASComputer[]>
Specifies the computer or computers that you want to resume. This is a required parameter.
Aliases |
none |
Required? |
true |
Position? |
1 |
Default Value |
none |
Accept Pipeline Input? |
true (ByValue) |
Accept Wildcard Characters? |
false |
-Retry
Resumes the job and retries the action that failed, before going on to the next action.
Aliases |
none |
Required? |
false |
Position? |
named |
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 (https://go.microsoft.com/fwlink/p/?LinkID=113216).
Inputs
The input type is the type of the objects that you can pipe to the cmdlet.
Outputs
The output type is the type of the objects that the cmdlet emits.
Examples
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