Quantcast
Channel: Hey, Scripting Guy! Blog
Viewing all articles
Browse latest Browse all 3333

PowerTip: Use PowerShell to Enable the Windows Firewall

$
0
0

Summary: Learn how to use Windows PowerShell to enable the Windows Firewall.

Hey, Scripting Guy! Question How can I use Windows PowerShell to enable the Windows Firewall on my computer?

      Hey, Scripting Guy! Answer On Windows 8 or Windows Server 2012, use the Set-NetFirewallProfile cmdlet.

Set-NetFirewallProfile -Profile Domain,Public,Private -Enabled True

 On earlier versions of Windows, use NetSh.

netsh advfirewall set allprofiles state on


Viewing all articles
Browse latest Browse all 3333

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>