PSInvocationState Enum

Definition

Enumerated type defining the state of the PowerShell.

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

Fields

Completed 4

PowerShell has completed executing a command.

Disconnected 6

PowerShell is in disconnected state.

Failed 5

PowerShell completed abnormally due to an error.

NotStarted 0

PowerShell has not been started.

Running 1

PowerShell is executing.

Stopped 3

PowerShell is completed due to a stop request.

Stopping 2

PowerShell is stoping execution.

Applies to