os/Window

PowerShell SSH

C/H 2017. 2. 2. 08:30

PowerShell Install-Module

Required Windows Management Framework 5.0

Install Posh-SSH

Open PowerShell

Install-Module Posh-SSH

New-SSHSession -ComputerName "thomasmaurer.azure.cloudapp.net" -Credential (Get-Credential)

Invoke-SSHCommand -Index 0 -Command "uname"


반응형