PSInvocationState Enum

Definition

Enumerated type defining the state of the PowerShell

public enum PSInvocationState
Inheritance
PSInvocationState

Fields

Completed

PowerShell has completed executing a command.

Disconnected

PowerShell is in disconnected state.

Failed

PowerShell completed abnormally due to an error.

NotStarted

PowerShell has not been started

Running

PowerShell is executing

Stopped

PowerShell is completed due to a stop request.

Stopping

PowerShell is stoping execution.