Bagikan melalui


PSRemotingBaseCmdlet.SSHTransport Property

Definition

This parameter specifies that SSH is used to establish the remote connection and act as the remoting transport. By default WinRM is used as the remoting transport. Using the SSH transport requires that SSH is installed and PowerShell remoting is enabled on both client and remote machines.

public:
 virtual property System::Management::Automation::SwitchParameter SSHTransport { System::Management::Automation::SwitchParameter get(); void set(System::Management::Automation::SwitchParameter value); };
[System.Management.Automation.Parameter(ParameterSetName="SSHHost")]
[System.Management.Automation.ValidateSet(new System.String[] { "true" })]
public virtual System.Management.Automation.SwitchParameter SSHTransport { get; set; }
public virtual System.Management.Automation.SwitchParameter SSHTransport { get; set; }
[<System.Management.Automation.Parameter(ParameterSetName="SSHHost")>]
[<System.Management.Automation.ValidateSet(new System.String[] { "true" })>]
member this.SSHTransport : System.Management.Automation.SwitchParameter with get, set
member this.SSHTransport : System.Management.Automation.SwitchParameter with get, set
Public Overridable Property SSHTransport As SwitchParameter

Property Value

Attributes

Applies to