Connection Parameter (Invoke-SSH Cmdlet)

An existing SSH connection.

Syntax

Invoke-SSH -Connection SSHConnection

Remarks

Represents an existing, persistent SSH connection to be used. After this cmdlet executes, the connection will remain opened to be used in an another call. New connections can be established using the Connect-SSH cmdlet and closed using the Disconnect-SSH cmdlet.

Default Value

null