Skip to content

Commit fb23fe9

Browse files
committed
Disable-WindowsFirewall.ps1 powershell script added.
1 parent 886db8c commit fb23fe9

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
#requires -runasadministrator
2+
# Paolo Frigo, https://www.scriptinglibrary.com
3+
#
4+
# This script will disable the windows firewall for all profiles PUBLIC, DOMAIN, PRIVATE
5+
#
6+
Set-NetFirewallProfile -profile Public,domain,private -enabled false
7+
# To check the FIREWALL PROFILE STATUS use
8+
# Get-NetFirewallProfile | select-object name, enabled

0 commit comments

Comments
 (0)