PSInvocationState Enumeration
[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]
Defines the states of a PowerShell pipeline. This class is introduced in Windows PowerShell 2.0.
Namespace: System.Management.Automation
Assembly: System.Management.Automation (in System.Management.Automation)
Namespace: System.Management.Automation
Assembly: System.Management.Automation (in System.Management.Automation)
| Member name | Description |
|---|---|
| Completed | The PowerShell object has finished the invocation of the pipeline. This field is introduced in Windows PowerShell 2.0. |
| Disconnected | |
| Failed | The invocation of the pipeline did not complete because an error has occurred. This field is introduced in Windows PowerShell 2.0. |
| NotStarted | The PowerShell object has not begun the invocation of the pipeline. This field is introduced in Windows PowerShell 2.0. |
| Running | The PowerShell object is in the process of running the commands of the pipeline. This field is introduced in Windows PowerShell 2.0. |
| Stopped | The PowerShell object has halted the invocation of the pipeline due to a Stop request. This field is introduced in Windows PowerShell 2.0. |
| Stopping | The PowerShell object is in the process of halting the invocation of the pipeline. This field is introduced in Windows PowerShell 2.0. |
The state of the pipeline is accessible through the following properties.
Target Platforms
Windows Developer Preview, Windows Server Developer PreviewSend comments about this topic to Microsoft.