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

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 3333

Trending Articles



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