次の方法で共有


Reset-WASComputer

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 (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: Drop a computer from running job instances

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