InvalidPowerShellStateException.CurrentState Property

Definition

Gets CurrentState of the powershell.

public:
 property System::Management::Automation::PSInvocationState CurrentState { System::Management::Automation::PSInvocationState get(); };
public System.Management.Automation.PSInvocationState CurrentState { get; }
member this.CurrentState : System.Management.Automation.PSInvocationState
Public ReadOnly Property CurrentState As PSInvocationState

Property Value

Applies to