Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
PSInvocationStateInfo Class
Collapse the table of content
Expand the table of content

PSInvocationStateInfo Class

Provides information about the current state of the invocation process, such as what the current state is and, if a failure occurred, the reason for the last state change. This class is introduced in Windows PowerShell 2.0.

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

Dim instance As PSInvocationStateInfo

Public NotInheritable Class PSInvocationStateInfo
public final class PSInvocationStateInfo
public final class PSInvocationStateInfo

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


Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.


Target Platforms

© 2015 Microsoft