2 parents 7a1f938 + 198503f commit da1d60bCopy full SHA for da1d60b
1 file changed
scripts/enable-winrm.ps1
@@ -12,6 +12,6 @@ winrm set winrm/config/service/auth '@{Basic="true"}'
12
winrm set winrm/config/client/auth '@{Basic="true"}'
13
winrm set winrm/config/listener?Address=*+Transport=HTTP '@{Port="5985"}'
14
netsh advfirewall firewall set rule group="Windows Remote Administration" new enable=yes
15
-netsh advfirewall firewall set rule name="Windows Remote Management (HTTP-In)" new enable=yes action=allow
+netsh advfirewall firewall set rule name="Windows Remote Management (HTTP-In)" new enable=yes action=allow remoteip=any
16
Set-Service winrm -startuptype "auto"
17
Restart-Service winrm
0 commit comments