Get-NetFirewallProfile
**Disable Firewall in all profiles**
Set-NetFirewallProfile -Enabled false
**Enable Firewall in all profiles**
Set-NetFirewallProfile -Enabled true
Further commands [[https://www.technig.com/manage-windows-firewall-using-powershell/]]
{{tag>kb windows firewall powershell}}