Thursday, July 2, 2015

GPO - WinRM - remote PowerShell

I have spent almost two hours today debugging a non issue. I decided to configure Group Policy Objects (GPO) and enable Windows Remote Management (WinRM). One of the first steps consists in enabling the service:

I was configuring it on the server in French and the translation has made my life even harder.

Any how, just remeber that IPv4/IPv6 Filter in "Windows Remote Management Service>>WinRM Service>>Allow automatic configuration of listeners" means that you are specifying the IPs that will be listening (accepting commands) NOT the sources (the IPs that send commands). Again, you will not be limiting the IPs that can remotely manage clients: you will be selecting IPs that will be listening to commands.