If you want to run PowerShell on remote machines, you can try PowerShell Remoting. It remotes the user interface with a couple of restrictions. For example, you cannot use command completion (<TAB>) and you cannot execute ‘external’ programs (.exe). Installation is simple: install a server component and a client component and you are done. With a user.xml file, you can restrict who connects.
A remote session is started with a GUI as shown below:
After connecting you get a command prompt on the remote machine.
Of course, you can also install something like winSSHD (not free) from Bitvise and use Bitvise Tunnelier (ssh client) to get a remote command prompt. The Bitvise software works well as there are no limitations as described here. So when I connect to winSSHD with Tunnelier and then execute powershell.exe I get a prompt and can start to work with it. Command completion works as expected.

One Comment
I’m using freeSSHd as server on my windows box and I connect with putty to the machine. Then I type in powershell and voila: A remote powershell session with full tab completion and all colors…
One Trackback/Pingback
[…] already blogged about some other remoting options before and showed that SSH-based remoting could already be done with existing solutions […]
Post a Comment