Reset-WASComputer

Applies To: Windows 8, Windows Server 2012

Reset-WASComputer

Drops a computer from all running job instances.

Syntax

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

Detailed Description

The Reset-WASComputer cmdlet drops a computer from all running job instances. When you drop a computer from a job, the job continues to run on other computers. The Computer parameter is required. Use Get-WASComputer to get the computer object.

Parameters

-Computer<WASComputer[]>

Specifies the computer that you want to drop. Use Get-WASComputer to get the computer object.

Aliases

none

Required?

true

Position?

1

Default Value

none

Accept Pipeline Input?

true (ByValue)

Accept Wildcard Characters?

false

<CommonParameters>

This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, and -OutVariable. For more information, see about_CommonParameters.

Examples

Gets the test computer named "TestComputer1", saves it as a variable, and then resets the computer. This drops it from all running job instances.

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

PS C:\> Reset-WasComputer -Computer $Computer

Get-WASComputer

Windows Assessment Services Technical Reference