Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

PSInvocationStateInfo.State Property

 

Updated: April 27, 2016

Applies To: Windows PowerShell

Gets the current state of the invocation of the command pipeline. This property is introduced in Windows PowerShell 2.0.

Namespace:   System.Management.Automation
Assembly:  System.Management.Automation (in System.Management.Automation.dll)

public PSInvocationState State { get; }

Property Value

Type: System.Management.Automation.PSInvocationState

One of the PSInvocationState enumeration values that describes the current state of the command pipeline invocation.

This information can be accessed through the PowerShell.InvocationStateInfo property.

Return to top

Community Additions

Show: