From 9998aeb33dd08147c282785ad2c6a47cf8af3a82 Mon Sep 17 00:00:00 2001 From: leaddevops <36464863+leaddevops@users.noreply.github.com> Date: Sun, 28 Jul 2024 13:12:48 +0530 Subject: [PATCH] Update README.md --- ansible/windows/README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ansible/windows/README.md b/ansible/windows/README.md index 4da8426a..b53962c7 100755 --- a/ansible/windows/README.md +++ b/ansible/windows/README.md @@ -33,6 +33,9 @@ open powershell terminal & check winrm is running using below commands Test-WSMan Get-Service WinRM +Set-Item -Force WSMan:\localhost\Service\auth\Basic $true +Set-Item -Force WSMan:\localhost\Service\AllowUnencrypted $true +New-NetFirewallRule -DisplayName "Allow WinRM Ports" -Direction Inbound -Action Allow -Protocol TCP -LocalPort 5985-5986 ``` ### Step2: `enable winrm`