共用方式為


PSInvocationStateInfo.State Property

Definition

The state of the PowerShell instance.

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

Property Value

Applies to