Skip to content

Instantly share code, notes, and snippets.

@AlexFielder
Created September 20, 2016 09:07
Export firewall rules to csv - PORTS ONLY (ALL Information)
get-netfirewallrule | Get-NetFirewallPortFilter | export-csv "C:\path\to\script\output-PORTS_ONLY.csv"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment