Link to home
Start Free TrialLog in
Avatar of DevSupport

asked on

Running linux commands into linux system remotely using powershell

Hi Experts,

I was looking for the best way to run linux shell commands in linux system from a windows system remotely using powershell and batch.

Please let me know the best way to do it.
Avatar of John Tsioumpris
John Tsioumpris
Flag of Greece image

Usually the way to run commands to remote Linux system is via Putty...if my memory serves me right i never saw running commands for Linux via powershell
Avatar of DevSupport


can we use new-sshsession to connect to linux system and execute shell commands?

Microsoft thoughtfully added SSH support into PowerShell so you can SSH to the linux box and even script it.
More details can be found here.
Putty or winscp
Avatar of footech
Flag of United States of America image

Link to home
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Already answered, but if you have Windows 10 then Bash on Windows may be an option for you: