PSInvocationState Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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. |