Getting Started with PowerNSX.

Getting Started with PowerNSX.

Getting Started with PowerNSX.

Getting Started with PowerNSX – Lately i had been doing posts on how to automate various NSX tasks by invoking NSX API calls with PowerShell.

Then i found a community driven module created for NSX, although it does not cover all the API’s for NSX, it sure has almost all the important ones covered!.

All credits goes to Nick Bradford for creating this excellent PowerShell module for NSX and regularly updating new features to this module.

Also i do recommend you to check out Anthony Burke’s blog on more details on the various possibilities with this module.

In this post i thought to share a getting started guide on installing PowerNSX, and in later posts show its capability in automating routine NSX tasks.

First thing, head over to the PowerNSX Bit Bucket Link, follow the steps and install the module.

Note :- PowerNSX requires PowerShell v3 or above, and requires PowerCLI (Recommend v6 and above (at the time of this post v6.3R1 )) for full functionality.

I thought to share the steps to install with some screen-captures so it may benefit others.

Automated installation is the best.

Launch your PowerShell Console in administrator mode and type in the below and hit enter.

Getting Started with PowerNSX.

The installation process would start, enter Yes for automated install of PowerNSX, and thats it, done!,

Getting Started with PowerNSX.

There are about 122 cmdlets at your disposal once you have PowerNSX installed.

Getting Started with PowerNSX

Here is a an overview of what you get.

Getting Started with PowerNSX

Next let me show you an intro to PowerNSX cmdlets.

First connect to your vCenter using PowerCLI, this is a requirement for PoweNSX to run.

Let me connect to my test setup.

Getting Started with PowerNSX

Once you have your connection established to vCenter, connect to the NSX manager via Connect-NSXServer, you will get a pop-up to enter your credentials.

Getting Started with PowerNSX

So we are all setup now, next lets test out a simple cmdlet to get a list of NSX edges in our environment.

Getting Started with PowerNSX

Wow, now this was great!, i would recommend you folks to give PowerNSX a try!

I hope this blog gave you a short intro on installing PowerNSX, look forward to more posts from me on NSX and i would also try to leverage PowerNSX cmdlets to automate NSX tasks which do not need additional exploration of the API guide .

Do check out some of my other Posts on NSX

 

Please follow and like us:

Share this post

2 thoughts on “Getting Started with PowerNSX.

Post Comment