EnterPSSessionCommand.HostName Property

Definition

Host name for an SSH remote connection.

public:
 property System::String ^ HostName { System::String ^ get(); void set(System::String ^ value); };
public:
 property Platform::String ^ HostName { Platform::String ^ get(); void set(Platform::String ^ value); };
[System.Management.Automation.Parameter(Mandatory=true, ParameterSetName="SSHHost", Position=0, ValueFromPipeline=true)]
[System.Management.Automation.ValidateNotNullOrEmpty]
public string HostName { get; set; }
public string HostName { get; set; }
[<System.Management.Automation.Parameter(Mandatory=true, ParameterSetName="SSHHost", Position=0, ValueFromPipeline=true)>]
[<System.Management.Automation.ValidateNotNullOrEmpty>]
member this.HostName : string with get, set
member this.HostName : string with get, set
Public Property HostName As String

Property Value

Attributes

Applies to