Generating an NSX Firewall Rule Report

This post was originally published on this site

One of my customers wanted an easy way to generate a report of all of their NSX Firewall rules as a CSV.  So, simply use get-nsxfirewallrule | export-csv and call it a day, right?  Unfortunately, the NSX Firewall Rule objects are a bit too complex to directly export as a CSV, so I put together a short script to unpack them.  Nothing’s too complex here, but sometimes it’s nice to have an easy script that just gives you the information that you need!

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.