Share via


ReceivePSSessionCommand.InstanceId Property

Definition

Instance Id of PSSession object to receive data from.

public:
 property Guid InstanceId { Guid get(); void set(Guid value); };
public Guid InstanceId { get; set; }
[System.Management.Automation.Parameter(Mandatory=true, ParameterSetName="InstanceId", Position=0, ValueFromPipeline=true, ValueFromPipelineByPropertyName=true)]
[System.Management.Automation.Parameter(Mandatory=true, ParameterSetName="ComputerInstanceId")]
[System.Management.Automation.Parameter(Mandatory=true, ParameterSetName="ConnectionUriInstanceId")]
[System.Management.Automation.ValidateNotNullOrEmpty]
public Guid InstanceId { get; set; }
member this.InstanceId : Guid with get, set
[<System.Management.Automation.Parameter(Mandatory=true, ParameterSetName="InstanceId", Position=0, ValueFromPipeline=true, ValueFromPipelineByPropertyName=true)>]
[<System.Management.Automation.Parameter(Mandatory=true, ParameterSetName="ComputerInstanceId")>]
[<System.Management.Automation.Parameter(Mandatory=true, ParameterSetName="ConnectionUriInstanceId")>]
[<System.Management.Automation.ValidateNotNullOrEmpty>]
member this.InstanceId : Guid with get, set
Public Property InstanceId As Guid

Property Value

Attributes

Applies to