My notes and ramblings, normally about automation

PowerShell - NSX Module Update

· Read in about 2 min · (420 Words)
NSX PowerShell VMware

A new update has been published to the NSX Module which I previously published on GitHub: NSXModule A reference to the first blog post I made concerning the module, including some screenshots of it actually in use: http://thatcouldbeaproblem.com/?p=823

The module has now grown to 31 of the following cmdlets:

Cmdlet | Description

Get-NSXController | Gathers NSX Controller details from NSX Manager Get-NSXControllerUpgrade | Gathers NSX Controller Upgrade details from NSX Manager Get-NSXEdge | Gathers NSX Edge Node details from NSX Manager Get-NSXEdgeDefaultRoute | Gathers NSX Edge Node default route details from NSX Manager Get-NSXEdgeFeatures | Gathers NSX Edge Feature details from all nodes within NSX Manager Get-NSXEdgeFirewall | Gathers NSX Edge Node firewall details from NSX Manager Get-NSXEdgeInterfaces | Gathers NSX Edge Node’s Interface details from NSX Manager Get-NSXEdgeNATs | Gathers NSX Edge Node NAT details from NSX Manager Get-NSXEdgeRoutingOverview | Gathers NSX Edge Routing Overview details from all nodes within NSX Manager Get-NSXEdges | Gathers NSX Edge Node details from NSX Manager Get-NSXEdgeStaticRoute | Gathers NSX Edge Node static route details from NSX Manager Get-NSXEdgeUplinks | Gathers NSX Edge Uplink details from all nodes within NSX Manager Get-NSXIPPools | Gathers NSX IP Pool details from NSX Manager Get-NSXIPSets | Gathers NSX IP Set details from NSX Manager Get-NSXLogicalSwitches | Gathers NSX Logical Switches and their details from NSX Manager Get-NSXManager | Gathers NSX Manager details Get-NSXManagerComponents | Gathers NSX Manager component details Get-NSXManagerSSH | Gathers NSX Manager SSH component details Get-NSXScopes | Gathers NSX Scopes and their details from NSX Manager Get-NSXSSOConfig | Gathers NSX SSO details from NSX Manager New-NSXIPPool | Creates an NSX IP Pool within NSX Manager New-NSXIPSet | Creates a new NSX IP Set within NSX Manager New-NSXLogicalSwitch | Gathers NSX Logical Switches and their details from NSX Manager Remove-NSXEdge | Deletes an NSX Edge Node from NSX Manager Remove-NSXIPPool | Removes an NSX IP Pool within NSX Manager Remove-NSXIPSet | Removes an NSX IP Set within NSX Manager Remove-NSXLogicalSwitch | Gathers NSX Logical Switches and their details from NSX Manager Remove-NSXSSOConfig | Removes NSX SSO config from NSX Manager Restart-NSXManager | Configures the NSX Manager for reboot Set-NSXManagerSSH | Configures NSX Manager SSH component Update-NSXEdge | Updates the NSX Edge via Update parameter

If you need an automated way of downloading the files into a dedicated directory and importing the module into the current session please see the following:

Note: this was a script that worked in my environment. There is no warranty or support with this script, please use at your own risk.