Showing posts with label winrm. Show all posts
Showing posts with label winrm. Show all posts

Friday, May 1, 2015

Setup Powershell Remoting … Remotely

You can use Sysinternals psexec to setup powershell remoting ... remotely.

Get psexec.exe from here: https://technet.microsoft.com/en-gb/sysinternals/bb897553 

The command to install it is:

psexec \\%PCNAME% -h c:\windows\system32\winrm.cmd quickconfig –quiet

Where %PCNAME% is the name of the PC you wish to install it on.

eg:

psexec \\WA_P_023 –h:\windows\system32\winrm.cmd quickconfig -quiet