Skip-WASJobInstance

Skip-WASJobInstance

Drops a computer from the running job instance.

구문

Parameter Set: Default
Skip-WASJobInstance [-Computer] <WASComputer[]> [-JobInstance] <WASJobInstance[]> [ <CommonParameters>]

자세한 설명

The Skip-WASJobInstance cmdlet drops a computer from the running job instance. The computer is removed from the job instance but is still available. The job instance continues to run on other computers included in the job.

매개 변수

-Computer<WASComputer[]>

Specifies the computer to drop from the specified job instance. The computer can be in any state.

별칭

없음

필수 여부

true

위치

1

기본값

없음

파이프라인 입력 적용 여부

false

와일드카드 문자 허용 여부

false

-JobInstance<WASJobInstance[]>

Specifies the job instance object that includes the computer you want to drop.

별칭

없음

필수 여부

true

위치

2

기본값

없음

파이프라인 입력 적용 여부

true (ByValue)

와일드카드 문자 허용 여부

false

<CommonParameters>

이 cmdlet은 일반 매개 변수 -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer 및 -OutVariable을 지원합니다. 자세한 내용은 다음을 참조하세요. about_CommonParameters(https://go.microsoft.com/fwlink/p/?LinkID=113216).

입력

입력 유형은 cmdlet에 파이프할 수 있는 개체의 유형입니다.

출력

출력 유형은 cmdlet이 내보내는 개체의 유형입니다.

예제

Example 1

This command gets the computer, and saves it as a variable. It then gets all running job instances of jobs with "automated" in the name, and drops the computer from all running job instances.

PS C:\> $computer = get-wascomputer testcomputer-toast2
PS C:\> $instance = get-wasjob *automated* | get-wasjobinstance | where { $_.IsComplete -eq $false }
PS C:\> Skip-WASJobInstance -computer $computer -jobinstance $instance

관련 항목

Get-WASComputer

Get-WASJob

Get-WASJobInstance

Windows Assessment Services Technical Reference