Created
September 20, 2016 09:07
-
-
Save AlexFielder/898d2c8cd0d06698f83f9c3ac2aca67d to your computer and use it in GitHub Desktop.
Export firewall rules to csv - PORTS ONLY (ALL Information)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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