다음을 통해 공유


GetPSSessionCommand.InstanceId Property

Definition

Instance Ids to filter on.

public:
 virtual property cli::array <Guid> ^ InstanceId { cli::array <Guid> ^ get(); void set(cli::array <Guid> ^ value); };
public override Guid[] InstanceId { get; set; }
[System.Management.Automation.Parameter(Mandatory=true, ParameterSetName="ComputerInstanceId")]
[System.Management.Automation.Parameter(Mandatory=true, ParameterSetName="ConnectionUriInstanceId")]
[System.Management.Automation.Parameter(Mandatory=true, ParameterSetName="ContainerIdInstanceId")]
[System.Management.Automation.Parameter(Mandatory=true, ParameterSetName="VMIdInstanceId")]
[System.Management.Automation.Parameter(Mandatory=true, ParameterSetName="VMNameInstanceId")]
[System.Management.Automation.Parameter(ParameterSetName="InstanceId", ValueFromPipelineByPropertyName=true)]
[System.Management.Automation.ValidateNotNull]
public override Guid[] InstanceId { get; set; }
member this.InstanceId : Guid[] with get, set
[<System.Management.Automation.Parameter(Mandatory=true, ParameterSetName="ComputerInstanceId")>]
[<System.Management.Automation.Parameter(Mandatory=true, ParameterSetName="ConnectionUriInstanceId")>]
[<System.Management.Automation.Parameter(Mandatory=true, ParameterSetName="ContainerIdInstanceId")>]
[<System.Management.Automation.Parameter(Mandatory=true, ParameterSetName="VMIdInstanceId")>]
[<System.Management.Automation.Parameter(Mandatory=true, ParameterSetName="VMNameInstanceId")>]
[<System.Management.Automation.Parameter(ParameterSetName="InstanceId", ValueFromPipelineByPropertyName=true)>]
[<System.Management.Automation.ValidateNotNull>]
member this.InstanceId : Guid[] with get, set
Public Overrides Property InstanceId As Guid()

Property Value

Guid[]
Attributes

Applies to