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

PowerTip: Use PowerShell to Display Inbound Firewall Rules

$
0
0

Summary: Use Windows PowerShell to display inbound firewall rules.

Hey, Scripting Guy! Question How can I use  Windows PowerShell to display the enabled inbound firewall rules for my Windows 8.1 laptop?

Hey, Scripting Guy! Answer Use the Show-NetFirewallRule function, filter on the Enabled and the Direction properties,
          and select the display name for readability:

Show-NetFirewallRule | where {$_.enabled -eq 'true' -AND $_.direction -eq 'inbound'}| select displayname


Viewing all articles
Browse latest Browse all 3333

Trending Articles



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