This topic has not yet been rated - Rate this topic

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)
'Usage
Dim instance As PSInvocationState

public enum PSInvocationState
public enum PSInvocationState
public enum PSInvocationState
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 Preview

Send comments about this topic to Microsoft.
Did you find this helpful?
(1500 characters remaining)