After a great meeting with a current Nutanix customer they asked if we had a tool that could provide them with some more background on their current cluster utilization and report on that. While Prism/Prism Pro will give you excellent reporting I try to automate as much as possible so I decided to alter the excisting Reporting Script I had written before to have working set size for read/write IO and potential CPU RDY times in the reporting as well.
Here I found myself wondering around the twitter sphere where I found this little gem posted by Aaron Parker: “Out-HtmlView – HTML alternative to Out-GridView
#PowerShell https://buff.ly/2UBPq6x “. This made me modify the current VM Reporting script for AHV and now the script will output to this HTML view when the PSWriteHTML module is installed and otherwise it will output to CSV.
Another powershell blog? Yeah, I guess it’s that kind of a month :). After writing my previous blog on How to add a NIC via Powershell to an AHV-hosted VM I got talking to one of our Services resources about a customer trying to run Citrix PVS with BDM. I figured I could easily modify the script to add a NIC so I could add a CD-ROM drive and mount an ISO file.Read more
After getting a question on how to add a network interface card to an existing VM I reverted back to powershell again, this could be useful for PVS scenarios where you want to seperate out network traffic stream (streaming vs generic network traffic) which is an outdated practice but for the sake of the powershell script it was my starting point.Read more
As I was on a roll with powershell scripts anyway I looked at the Reporting vGPU enabled VMs on AHV.I wrote earlier this month and wanted to reuse that script for the VM Inventory script I had written back in 2017 and with the new capabilities of Nutanix AHV it made sense to add the vGPU profiles to this script.
After writing the script to create VM on AHV with a vGPU profile I was wondering what else I could do with the code I had written. When I was looking at some of my older blogposts I realized I had a VM inventory script and wanted to update that to include the GPU profiles. Before I could update the inventory script I had to gobble together the code to actually report the VMs that are vGPU enabled and the configured profiles.