Skip to content

PowerShell Remoting

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

  1. Dennis wrote:

    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…

    Posted on 05-Oct-07 at 8:52 am | Permalink

One Trackback/Pingback

  1. […] already blogged about some other remoting options before and showed that SSH-based remoting could already be done with existing solutions […]

Post a Comment

Your email is never published nor shared. Required fields are marked *
*
*