WINDOWS FIREWALL
WINDOWS FIREWALL
netsh advfirewall set allprofiles state offnetsh advfirewall set allprofiles state onnetsh advfirewall show allprofilesNew-NetFirewallRule -DisplayName 'HTTP-Inbound' -Profile @('Domain', 'Private') -Direction Inbound -Action Allow -Protocol TCP -LocalPort @('80', '443')Last updated