Resume-WASComputer
Resume-WASComputer
Releases a hold on a test computer, and continues with the next action.
Sintaxis
Parameter Set: Default
Resume-WASComputer [-Computer] <WASComputer[]> [-Retry] [ <CommonParameters>]
Descripción detallada
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.
Parámetros
-Computer<WASComputer[]>
Specifies the computer or computers that you want to resume. This is a required parameter.
Alias |
ninguno |
¿Requerido? |
true |
¿Posición? |
1 |
Valor predeterminado |
ninguno |
¿Aceptar canalización? |
true (ByValue) |
¿Aceptar caracteres comodín? |
false |
-Retry
Resumes the job and retries the action that failed, before going on to the next action.
Alias |
ninguno |
¿Requerido? |
false |
¿Posición? |
named |
Valor predeterminado |
ninguno |
¿Aceptar canalización? |
false |
¿Aceptar caracteres comodín? |
false |
<CommonParameters>
Este cmdlet admite los siguientes parámetros comunes: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer y -OutVariable. Para obtener más información, consulte about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216).
Entradas
El tipo de entrada es el tipo de los objetos que se pueden canalizar al cmdlet.
Salidas
El tipo de resultado es el tipo de objetos que emite el cmdlet.
Ejemplos
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