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