다음을 통해 공유


JobState Enum

Definition

Enumeration for job status values. Indicates the status of the result object.

public enum class JobState
public enum JobState
type JobState = 
Public Enum JobState
Inheritance
JobState

Fields

Name Value Description
NotStarted 0

Execution of command in job not started.

Running 1

Execution of command in progress.

Completed 2

Execution of command completed in all computernames/runspaces.

Failed 3

An error was encountered when trying to executed command in one or more computernames/runspaces.

Stopped 4

Command execution is cancelled (stopped) in one or more computernames/runspaces.

Blocked 5

Command execution is blocked (on user input host calls etc)

Suspended 6

The job has been suspended.

Disconnected 7

The job is a remote job and has been disconnected from the server.

Suspending 8

Suspend is in progress.

Stopping 9

Stop is in progress.

AtBreakpoint 10

Script execution is halted in a debugger stop.

Applies to