Share via


SshBaseCmdlet.Port Property

Definition

Port number to connect to on the remote target host.

[System.Management.Automation.Parameter(ParameterSetName="Interactive")]
[System.Management.Automation.Parameter(ParameterSetName="IpAddress")]
[System.Management.Automation.Parameter(ParameterSetName="ResourceId")]
[System.Management.Automation.ValidateNotNullOrEmpty]
public string Port { get; set; }
[<System.Management.Automation.Parameter(ParameterSetName="Interactive")>]
[<System.Management.Automation.Parameter(ParameterSetName="IpAddress")>]
[<System.Management.Automation.Parameter(ParameterSetName="ResourceId")>]
[<System.Management.Automation.ValidateNotNullOrEmpty>]
member this.Port : string with get, set
Public Property Port As String

Property Value

Attributes

Applies to