InvokeCommandCommand.SSHTransport Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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="FilePathSSHHost")]
[System.Management.Automation.Parameter(ParameterSetName="SSHHost")]
[System.Management.Automation.ValidateSet(new System.String[] { "true" })]
public override System.Management.Automation.SwitchParameter SSHTransport { get; set; }
public override System.Management.Automation.SwitchParameter SSHTransport { get; set; }
[<System.Management.Automation.Parameter(ParameterSetName="FilePathSSHHost")>]
[<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 Overrides Property SSHTransport As SwitchParameter
Property Value
- Attributes