Enable PowerShell Remoting

email me

Launch PowerShell in Admin mode, and type the following:

Enable-PSRemoting –force

Two things should happen:

(1) The WinRM service should be started

(2) WinRM firewall exception should be enabled

 

Notes

You may also need to run

winrm quickconfig
winrm s winrm/config/client ‘@{TrustedHosts=”TheComputerName”}’

 

Reference

https://technet.microsoft.com/en-us/magazine/ff700227.aspx