Skip to content

Instantly share code, notes, and snippets.

@AlexFielder
Last active September 20, 2016 09:08
Show Gist options
  • Save AlexFielder/b4cf1fb1ab5dc3dcb7e0f2f745516a47 to your computer and use it in GitHub Desktop.
Save AlexFielder/b4cf1fb1ab5dc3dcb7e0f2f745516a47 to your computer and use it in GitHub Desktop.
Export Windows Firewall Port rules to human readable csv file
get-netfirewallrule | select-object name, group, action, enabled, profile | export-csv "C:\path\to\script\output.csv"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment