InvalidPowerShellStateException.CurrentState Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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