There is an open source PowerShell module called PowerNSX that abstracts the VMware NSX for vSphere API to a set of easily used PowerShell functions. PowerNSX has over 280 cmdlets that focus on exposing Create, Read, Update, and Delete operations for all of the key NSX for vSphere functions. However, PowerNSX is not supported by VMware as it is open source and not developed as an official VMware product.
PowerNSX is available on VMware's GitHub repository (https://github.com/vmware/powernsx) and the project wiki is located at https://powernsx.github.io. VMware Press also has a free guide or book that introduces PowerNSX called Automating NSX for vSphere with PowerNSX: https://www.vmware.com/content/dam/digitalmarketing/vmware/en/pdf/products/nsx/vmware-automating-vsphere-with-powernsx.pdf ...