共用方式為


GetPSSessionCommand.State Property

Definition

Filters returned remote runspaces based on runspace state.

public:
 property Microsoft::PowerShell::Commands::SessionFilterState State { Microsoft::PowerShell::Commands::SessionFilterState get(); void set(Microsoft::PowerShell::Commands::SessionFilterState value); };
public:
 property Microsoft::PowerShell::Commands::SessionFilterState State { Microsoft::PowerShell::Commands::SessionFilterState get(); void set(Microsoft::PowerShell::Commands::SessionFilterState value); };
public Microsoft.PowerShell.Commands.SessionFilterState State { get; set; }
[System.Management.Automation.Parameter(ParameterSetName="ComputerInstanceId")]
[System.Management.Automation.Parameter(ParameterSetName="ComputerName")]
[System.Management.Automation.Parameter(ParameterSetName="ConnectionUri")]
[System.Management.Automation.Parameter(ParameterSetName="ConnectionUriInstanceId")]
[System.Management.Automation.Parameter(ParameterSetName="ContainerId")]
[System.Management.Automation.Parameter(ParameterSetName="ContainerIdInstanceId")]
[System.Management.Automation.Parameter(ParameterSetName="VMId")]
[System.Management.Automation.Parameter(ParameterSetName="VMIdInstanceId")]
[System.Management.Automation.Parameter(ParameterSetName="VMName")]
[System.Management.Automation.Parameter(ParameterSetName="VMNameInstanceId")]
public Microsoft.PowerShell.Commands.SessionFilterState State { get; set; }
member this.State : Microsoft.PowerShell.Commands.SessionFilterState with get, set
[<System.Management.Automation.Parameter(ParameterSetName="ComputerInstanceId")>]
[<System.Management.Automation.Parameter(ParameterSetName="ComputerName")>]
[<System.Management.Automation.Parameter(ParameterSetName="ConnectionUri")>]
[<System.Management.Automation.Parameter(ParameterSetName="ConnectionUriInstanceId")>]
[<System.Management.Automation.Parameter(ParameterSetName="ContainerId")>]
[<System.Management.Automation.Parameter(ParameterSetName="ContainerIdInstanceId")>]
[<System.Management.Automation.Parameter(ParameterSetName="VMId")>]
[<System.Management.Automation.Parameter(ParameterSetName="VMIdInstanceId")>]
[<System.Management.Automation.Parameter(ParameterSetName="VMName")>]
[<System.Management.Automation.Parameter(ParameterSetName="VMNameInstanceId")>]
member this.State : Microsoft.PowerShell.Commands.SessionFilterState with get, set
Public Property State As SessionFilterState

Property Value

Attributes

Applies to