PowerTip: Use PowerShell to Find Domain-Enabled Firewall Rules

Doctor Scripto

Summary: Learn how to identify domain firewall rules by using Windows PowerShell 3.0 on Windows 8 or Windows Server 2012.

Hey, Scripting Guy! Question How can I find specific Domain profile firewall rules on my computer running Windows 8 or Windows Server 2012?

Hey, Scripting Guy! Answer Use the Get-NetFirewallRule cmdlet and specify the enabled parameter as true and filter on the domain profile, as shown here.

Get-NetFirewallRule -Enabled true | Where profile -eq ‘Domain’

 

0 comments

Discussion is closed.

Feedback usabilla icon