Partager via


ReceivePSSessionCommand.ConnectionUri Property

Definition

A complete URI(s) specified for the remote computer and shell to connect to and create a runspace for.

public:
 property Uri ^ ConnectionUri { Uri ^ get(); void set(Uri ^ value); };
public Uri ConnectionUri { get; set; }
[System.Management.Automation.Alias(new System.String[] { "URI", "CU" })]
[System.Management.Automation.Parameter(Mandatory=true, ParameterSetName="ConnectionUriSessionName", Position=0, ValueFromPipelineByPropertyName=true)]
[System.Management.Automation.Parameter(Mandatory=true, ParameterSetName="ConnectionUriInstanceId", Position=0, ValueFromPipelineByPropertyName=true)]
[System.Management.Automation.ValidateNotNullOrEmpty]
public Uri ConnectionUri { get; set; }
member this.ConnectionUri : Uri with get, set
[<System.Management.Automation.Alias(new System.String[] { "URI", "CU" })>]
[<System.Management.Automation.Parameter(Mandatory=true, ParameterSetName="ConnectionUriSessionName", Position=0, ValueFromPipelineByPropertyName=true)>]
[<System.Management.Automation.Parameter(Mandatory=true, ParameterSetName="ConnectionUriInstanceId", Position=0, ValueFromPipelineByPropertyName=true)>]
[<System.Management.Automation.ValidateNotNullOrEmpty>]
member this.ConnectionUri : Uri with get, set
Public Property ConnectionUri As Uri

Property Value

Uri
Attributes

Applies to