And with the current release of NOS 4.1.1 and Barry Schiffer’ NetScaler Documentation script I figured it would be a good idea to do the same thing for the Nutanix solution. The Nutanix management interface (PRISM) is a very powerful tool to get all information in a general overview.
This interface will give you access to both the REST API and the PowerShell CMDlets and these PoSH cmdlets are very useful and well written so I could easily use them in the base script. I wanted to thank both authors of the framework:
- Carl Webster: Thank you so much for creating the base script and putting so much of your own time into this scripts. It’s guys like you that make the community so much stronger.
- Iain Brighton: The man that makes writing PoSH scripts and functions look easy and is ever so willingly to help out with all questions (Yes, even the stupid ones). Thanks for all your patience with this scripting novice.
What’s currently in the script
- New look and feel; Utilizing native Microsoft Word tables;
- Mandatory items for the Nutanix PRISM interface, username and password;
- Incorporating all Get- cmdlets into the script.
- The parameter -full will get all non-resolved alerts and events on the system.
Nutanix_Script_v1_unsigned.ps1 -nxIP 126.96.36.199 -nxUser Admin -nxPassword ****
This will give you a word document which is (by default) called ‘Nutanix Documentation Script’ in the directory where you run the script.
If you want to incorporate all non resolved alerts and events the syntax would be:
Nutanix_Script_v1_unsigned.ps1 -nxIP 188.8.131.52 -nxUser Admin -nxPassword **** -full
RequirementsOn the machine you’d be running the script on you need:
- Office 2013
- PoSH 3
- Nutanix CMDlets (from NOS4.1.1)
- NOS4.1.1 (it will work on older versions of NOS but it won’t give all the information the script will process when on NOS4.1.1)
The Nutanix CMDlets can be installed from the PRISM interface:
Release notesThis version of the script will gather and format the following information:
- Cluster Overview
- Node Information
- Storage Pool(s)
- Protection Domain(s)
- Support for Hyper-V
- Support for older versions of NOS
If you have any questions about the scripts or possible feature requests/improvements please don’t hesitate to leave a comment!
This is a repost from the blog My Virtual Vision by Kees Baggerman