Quantcast
Channel: TechNet Blogs
Viewing all articles
Browse latest Browse all 36188

PowerTip: Use PowerShell to Find Domain-Enabled Firewall Rules

$
0
0

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'

 


Viewing all articles
Browse latest Browse all 36188

Trending Articles