Gets the execution state of the current PowerShell instance.
public System.Management.Automation.PSInvocationStateInfo InvocationStateInfo { get; }