Get a list of the Windows Server 2012 Firewall Rules

Here is a quick way to get a report for the Windows Firewall rules in Windows Server 2012.

Enabled Firewall Rules

  • Get-NetFirewallRule | Where-Object {$_.Action -eq “Allow”} | Format-Table -Property DisplayName

Disabled Firewall Rules

  • Get-NetFirewallRule | Where-Object {$_.Enabled -eq “False”} | Format-Table -Property Displayname

Subscribe For Latest Updates

Sign up for best of digital marketing, livestream and technology opinions on what matters to you.

Invalid email address
We promise not to spam you. You can unsubscribe at any time.

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.

%d bloggers like this: