Powershell: NSX-V Edge Service Gateway (ESG) Firewall Rules Output

Basically had a script to output Distributed Firewall, but not individual ESG based firewall rules.  Turns out, I could re-use some of what I had made for DFW, but had to rewrite ALOT surprisingly.  So here is an ESG based version.  The script was written and run using Powershell 7 Core, latest PowerCLI and PowerNSX.

It might work on other revisions, but I'm too lazy to back test.  You can export to CSV as well.


Justin said…
thank you for your help, I need this solution to speed up my work

Popular posts from this blog

NSX-T: vCenter and NSX-T Inventory out of Sync (Hosts in vSphere not showing up in NSX-T)

NSX-T: Release associated invalid node ID from certificate

MacOS: AnyConnect VPN client was unable to successfully verify the IP forwarding table modifications.