From 8285a3f2add200f81fce69ccf158cf6ca87ed5e5 Mon Sep 17 00:00:00 2001 From: Anurag Sharma Date: Tue, 6 May 2025 09:58:49 +0530 Subject: [PATCH] fix(docs): correct firewall command for WinRM HTTPS setup --- website/content/docs/communicators/winrm.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/content/docs/communicators/winrm.mdx b/website/content/docs/communicators/winrm.mdx index 103637205..3826084c1 100644 --- a/website/content/docs/communicators/winrm.mdx +++ b/website/content/docs/communicators/winrm.mdx @@ -165,7 +165,7 @@ cmd.exe /c winrm set "winrm/config/listener?Address=*+Transport=HTTPS" "@{Port=` # Make sure appropriate firewall port openings exist cmd.exe /c netsh advfirewall firewall set rule group="remote administration" new enable=yes -cmd.exe /c netsh firewall add portopening TCP 5986 "Port 5986" +cmd.exe /c netsh advfirewall firewall add rule name="Port 5986" dir=in action=allow protocol=TCP localport=5986 profile=any # Restart WinRM, and set it so that it auto-launches on startup. cmd.exe /c net stop winrm