Have used posh-ssh module for PowerShell for automation with New-SSHShellStream commandlet: $ssh = New-SSHSession -ComputerName $IP -Credential (New-Object System.Management.Automation.PSCredential ($Username, (ConvertTo-SecureString -String $Passwor...