Sunday, August 18, 2013

Powershell Quick Tips: Start an interactive session on a remote computer

For the Linux/Unix geeks, ssh is preferred way to establish an interactive session to a remote machine. In Windows ssh can also be used but you have to install extra software. To perform interactive task on remote machine (though not as cool as ssh) one can try Powershell. So, to connect to a remote machine MACHINE1, do:

PS C:\>Enter-PSSession -ComputerName MACHINE1

For this to work, you need to have proper credentials on MACHINE1 (I have only tried with users members of domain admins).

No comments: