Share via


GetPSSessionCommand.ConnectionUri Property

Definition

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

public:
 property cli::array <Uri ^> ^ ConnectionUri { cli::array <Uri ^> ^ get(); void set(cli::array <Uri ^> ^ value); };
public Uri[] ConnectionUri { get; set; }
[System.Management.Automation.Alias(new System.String[] { "URI", "CU" })]
[System.Management.Automation.Parameter(Mandatory=true, ParameterSetName="ConnectionUri", 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="ConnectionUri", 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