PowerNSX

3.0.1004

PowerNSX is a PowerShell module that abstracts the VMware NSX API to a set of easily used PowerShell functions.
This module is not supported by VMware, and comes with no warranties express or implied. Please test and validate its functionality before using in a production environment.
It aims to focus on exposing New, Update, Remove and Get operations for all key NS
PowerNSX is a PowerShell module that abstracts the VMware NSX API to a set of easily used PowerShell functions.
This module is not supported by VMware, and comes with no warranties express or implied. Please test and validate its functionality before using in a production environment.
It aims to focus on exposing New, Update, Remove and Get operations for all key NSX functions as well as adding additional functionality to extend the capabilities of NSX management beyond the native UI or API.
It is unlikely that it will ever expose 100% of the NSX API, but feature requests are welcomed if you find a particular function you require to be lacking.
PowerNSX is currently a work in progress and is not yet feature complete.

Minimum PowerShell version

3.0

Installation Options

Copy and Paste the following command to install this package using PowerShellGet More Info

Install-Module -Name PowerNSX -RequiredVersion 3.0.1004

You can deploy this package directly to Azure Automation. Note that deploying packages with dependencies will deloy all the dependencies to Azure Automation. Learn More

Manually download the .nupkg file to your system's default download location. Note that the file won't be unpacked, and won't include any dependencies. Learn More

Author(s)

Nick Bradford

Copyright

Copyright © 2015 VMware, Inc. All Rights Reserved.

Owners

Functions

init Test-WebServerSSL Invoke-XpathQuery Read-HostWithDefault ConvertFrom-Bitmask ConvertTo-Bitmask Get-NetworkFromHostAddress Test-AddressInNetwork Get-NetworkRange Add-XmlElement Get-FeatureStatus ParseCentralCliResponse ValidateUpdateBranch ValidateTransportZone ValidateLogicalSwitchOrDistributedPortGroup ValidateLogicalSwitchOrDistributedPortGroupOrStandardPortGroup ValidateIpPool ValidateVdsContext ValidateSegmentIdRange ValidateDistributedSwitch ValidateLogicalSwitch ValidateLogicalRouterInterfaceSpec ValidateEdgeInterfaceSpec ValidateEdgeInterfaceAddress ValidateAddressGroupSpec ValidateLogicalRouter ValidateEdge ValidateEdgeRouting ValidateEdgeStaticRoute ValidateEdgeBgpNeighbour ValidateEdgeOspfArea ValidateEdgeOspfInterface ValidateEdgeRedistributionRule ValidateLogicalRouterRouting ValidateLogicalRouterStaticRoute ValidateLogicalRouterBgpNeighbour ValidateLogicalRouterOspfArea ValidateLogicalRouterOspfInterface ValidateLogicalRouterRedistributionRule ValidateEdgePrefix ValidateLogicalRouterPrefix ValidateEdgeInterface ValidateLogicalRouterInterface ValidateEdgeSubInterface ValidateEdgeNat ValidateEdgeNatRule ValidateEdgeFw ValidateEdgeFwRule ValidateEdgeSslVpn ValidateEdgeCsr ValidateEdgeCertificate ValidateEdgeSslVpnUser ValidateEdgeSslVpnIpPool ValidateEdgeSslVpnPrivateNetwork ValidateEdgeSslVpnClientPackage ValidateSecurityGroupMember ValidateIPHost ValidateIPRange ValidateIPPrefix ValidateFirewallRuleSourceDest ValidateFirewallRule ValidateFirewallRuleMember ValidateFirewallRuleMemberObject ValidateServiceGroup ValidateService ValidateServiceOrServiceGroup ValidateFirewallRuleService ValidateEdgeFirewallRuleService ValidateFirewallAppliedTo ValidateLoadBalancer ValidateLoadBalancerMonitor ValidateLoadBalancerVip ValidateLoadBalancerMemberSpec ValidateLoadBalancerApplicationProfile ValidateLoadBalancerPool ValidateLoadBalancerPoolMember ValidateSecurityTag ValidateSpoofguardPolicy ValidateSpoofguardNic ValidateVirtualMachine ValidateTagAssignment ValidateFwSourceDestFilter ValidateController ValidateSecondaryManager Format-XML Export-NsxObject Import-NsxObject Invoke-InternalWebRequest Invoke-NsxRestMethod Invoke-NsxWebRequest Connect-NsxServer Disconnect-NsxServer Get-PowerNsxVersion Update-PowerNsx Wait-NsxJob Wait-NsxGenericJob Get-NsxClusterStatus Invoke-NsxCli Get-NsxCliDfwFilter Get-NsxCliDfwRule Get-NsxCliDfwAddrSet Get-NsxHostUvsmLogging Set-NsxHostUvsmLogging New-NsxManager Set-NsxManager Get-NsxManagerCertificate Get-NsxManagerSsoConfig Get-NsxManagerVcenterConfig Get-NsxManagerTimeSettings Set-NsxManagerTimeSettings Clear-NsxManagerTimeSettings Get-NsxManagerSyslogServer Get-NsxManagerNetwork Get-NsxManagerBackup Get-NsxManagerComponentSummary Get-NsxManagerSystemSummary Get-NsxManagerRole Set-NsxManagerRole Invoke-NsxManagerSync Get-NsxManagerSyncStatus Add-NsxSecondaryManager Get-NsxSecondaryManager Remove-NsxSecondaryManager Wait-NsxControllerJob New-NsxController Get-NsxController Remove-NsxController New-NsxIpPool Get-NsxIpPool Get-NsxVdsContext New-NsxVdsContext Remove-NsxVdsContext New-NsxClusterVxlanConfig Install-NsxCluster Remove-NsxCluster Remove-NsxClusterVxlanConfig New-NsxSegmentIdRange Get-NsxSegmentIdRange Remove-NsxSegmentIdRange Get-NsxTransportZone New-NsxTransportZone Wait-NsxTransportZoneJob Add-NsxTransportZoneMember Remove-NsxTransportZoneMember Remove-NsxTransportZone Add-NsxLicense Get-NsxLicense Get-NsxUserRole Get-NsxLogicalSwitch New-NsxLogicalSwitch Remove-NsxLogicalSwitch Connect-NsxLogicalSwitch Disconnect-NsxLogicalSwitch Get-NsxSpoofguardPolicy New-NsxSpoofguardPolicy Remove-NsxSpoofguardPolicy Publish-NsxSpoofguardPolicy Get-NsxSpoofguardNic Grant-NsxSpoofguardNicApproval Revoke-NsxSpoofguardNicApproval New-NsxLogicalRouterInterfaceSpec Get-NsxLogicalRouter New-NsxLogicalRouter Remove-NsxLogicalRouter Set-NsxLogicalRouterInterface New-NsxLogicalRouterInterface Remove-NsxLogicalRouterInterface Get-NsxLogicalRouterInterface AddNsxEdgeVnicAddressGroup New-NsxAddressSpec New-NsxEdgeInterfaceSpec New-NsxEdgeSubInterfaceSpec Set-NsxEdgeInterface Clear-NsxEdgeInterface Get-NsxEdgeInterface New-NsxEdgeSubInterface Remove-NsxEdgeSubInterface Get-NsxEdgeSubInterface Get-NsxEdgeInterfaceAddress Add-NsxEdgeInterfaceAddress Remove-NsxEdgeInterfaceAddress Get-NsxEdge New-NsxEdge Repair-NsxEdge Set-NsxEdge Remove-NsxEdge Enable-NsxEdgeSsh Disable-NsxEdgeSsh Set-NsxEdgeNat Get-NsxEdgeNat Get-NsxEdgeNatRule New-NsxEdgeNatRule Remove-NsxEdgeNatRule Set-NsxEdgeFirewall Get-NsxEdgeFirewall Get-NsxEdgeFirewallRule New-NsxEdgeFirewallRule Remove-NsxEdgeFirewallRule Get-NsxEdgeCsr New-NsxEdgeCsr Remove-NsxEdgeCsr Get-NsxEdgeCertificate New-NsxEdgeSelfSignedCertificate Remove-NsxEdgeCertificate Get-NsxSslVpn Set-NsxSslVpn New-NsxSslVpnAuthServer Get-NsxSslVpnAuthServer New-NsxSslVpnUser Get-NsxSslVpnUser Remove-NsxSslVpnUser New-NsxSslVpnIpPool Get-NsxSslVpnIpPool Remove-NsxSslVpnIpPool New-NsxSslVpnPrivateNetwork Get-NsxSslVpnPrivateNetwork Remove-NsxSslVpnPrivateNetwork New-NsxSslVpnClientInstallationPackage Get-NsxSslVpnClientInstallationPackage Remove-NsxSslVpnClientInstallationPackage Set-NsxEdgeRouting Get-NsxEdgeRouting Get-NsxEdgeStaticRoute New-NsxEdgeStaticRoute Remove-NsxEdgeStaticRoute Get-NsxEdgePrefix New-NsxEdgePrefix Remove-NsxEdgePrefix Get-NsxEdgeBgp Set-NsxEdgeBgp Get-NsxEdgeBgpNeighbour New-NsxEdgeBgpNeighbour Remove-NsxEdgeBgpNeighbour Get-NsxEdgeOspf Set-NsxEdgeOspf Get-NsxEdgeOspfArea Remove-NsxEdgeOspfArea New-NsxEdgeOspfArea Get-NsxEdgeOspfInterface Remove-NsxEdgeOspfInterface New-NsxEdgeOspfInterface Get-NsxEdgeRedistributionRule Remove-NsxEdgeRedistributionRule New-NsxEdgeRedistributionRule Set-NsxLogicalRouterRouting Get-NsxLogicalRouterRouting Get-NsxLogicalRouterStaticRoute New-NsxLogicalRouterStaticRoute Remove-NsxLogicalRouterStaticRoute Get-NsxLogicalRouterPrefix New-NsxLogicalRouterPrefix Remove-NsxLogicalRouterPrefix Get-NsxLogicalRouterBgp Set-NsxLogicalRouterBgp Get-NsxLogicalRouterBgpNeighbour New-NsxLogicalRouterBgpNeighbour Remove-NsxLogicalRouterBgpNeighbour Get-NsxLogicalRouterOspf Set-NsxLogicalRouterOspf Get-NsxLogicalRouterOspfArea Remove-NsxLogicalRouterOspfArea New-NsxLogicalRouterOspfArea Get-NsxLogicalRouterOspfInterface Remove-NsxLogicalRouterOspfInterface New-NsxLogicalRouterOspfInterface Get-NsxLogicalRouterRedistributionRule Remove-NsxLogicalRouterRedistributionRule New-NsxLogicalRouterRedistributionRule Get-NsxSecurityGroup New-NsxSecurityGroup Remove-NsxSecurityGroup Get-NsxSecurityGroupMemberTypes Add-NsxSecurityGroupMember Remove-NsxSecurityGroupMember New-NsxSecurityTag Get-NsxSecurityTag Remove-NsxSecurityTag Get-NsxSecurityTagAssignment New-NsxSecurityTagAssignment Remove-NsxSecurityTagAssignment Get-NsxIpSet New-NsxIpSet Remove-NsxIpSet Add-NsxIpSetMember Remove-NsxIpSetMember Remove-NsxIpPool Get-NsxMacSet New-NsxMacSet Remove-NsxMacSet Get-NsxService New-NsxService Remove-NsxService Get-NsxServiceGroup Get-NsxServiceGroupMember Remove-NsxServiceGroup New-NsxServiceGroup Add-NsxServiceGroupMember Get-NsxApplicableMember Add-NsxSourceDestNode Add-NsxSourceDestMember New-NsxServiceNode New-NsxEdgeServiceNode New-NsxAppliedToListNode Get-NsxFirewallSection New-NsxFirewallSection Remove-NsxFirewallSection Get-NsxFirewallRule New-NsxFirewallRule Remove-NsxFirewallRule Get-NsxFirewallExclusionListMember Add-NsxFirewallExclusionListMember Remove-NsxFirewallExclusionListMember Get-NsxFirewallSavedConfiguration Get-NsxFirewallThreshold Set-NsxFirewallThreshold Get-NsxFirewallRuleMember Add-NsxFirewallRuleMember Remove-NsxFirewallRuleMember Get-NsxFirewallGlobalConfiguration Set-NsxFirewallGlobalConfiguration Get-NsxLoadBalancer Set-NsxLoadBalancer Get-NsxLoadBalancerMonitor New-NsxLoadBalancerMonitor Remove-NsxLoadBalancerMonitor Get-NsxLoadBalancerApplicationProfile New-NsxLoadBalancerApplicationProfile Remove-NsxLoadBalancerApplicationProfile New-NsxLoadBalancerMemberSpec New-NsxLoadBalancerPool Get-NsxLoadBalancerPool Remove-NsxLoadBalancerPool Get-NsxLoadBalancerPoolMember Add-NsxLoadBalancerPoolMember Remove-NsxLoadBalancerPoolMember Get-NsxLoadBalancerVip Add-NsxLoadBalancerVip Remove-NsxLoadBalancerVip Get-NsxLoadBalancerStats Get-NsxLoadBalancerApplicationRule New-NsxLoadBalancerApplicationRule Get-NsxSecurityPolicy Remove-NsxSecurityPolicy Get-NsxSecurityGroupEffectiveMember Get-NsxSecurityGroupEffectiveVirtualMachine Get-NsxSecurityGroupEffectiveIpAddress Get-NsxSecurityGroupEffectiveMacAddress Get-NsxSecurityGroupEffectiveVnic Find-NsxWhereVMUsed Get-NsxBackingPortGroup Get-NsxBackingDVSwitch Copy-NsxEdge

Dependencies

Version History

Version Downloads Last updated
3.0.1118 1,637 8/20/2018
3.0.1116 18 8/20/2018
3.0.1110 1,183 6/14/2018
3.0.1091 1,789 3/8/2018
3.0.1088 176 3/2/2018
3.0.1085 162 2/22/2018
3.0.1081 379 1/26/2018
3.0.1073 30 1/24/2018
3.0.1072 110 1/18/2018
3.0.1071 2 1/18/2018
3.0.1070 20 1/17/2018
3.0.1054 835 10/31/2017
3.0.1047 536 9/13/2017
3.0.1029 78 9/6/2017
3.0.1021 35 9/3/2017
3.0.1020 31 8/29/2017
3.0.1017 72 8/23/2017
3.0.1014 19 8/22/2017
3.0.1013 45 8/17/2017
3.0.1012 73 8/16/2017
3.0.1010 8 8/16/2017
3.0.1009 19 8/13/2017
3.0.1008 6 8/11/2017
3.0.1004 (current version) 11 8/8/2017
3.0.1000 9 8/8/2017
Show less