Powershell Script for inventory VM in AHV Hypervisor | Nutanix Community
Skip to main content
Hi folks,



I would like share with us the powershell script that use here in my company, this script do inventory of vms that run in nutanix environment AHV and collect the information like :



name,servicevmexternalip,hypervisorFullName,blockModelName,cpuModel,numCpuSockets,numCpuCores, after collect we can export in csv and HTML to send by email



Link to script:

https://github.com/joaocsjr/powercli/blob/master/ntx-invetory1.ps1





Regards,

Joao Castro
Great script!

Do you know if it's possible to get the "Description" Field into the Report?

With Get-NTNXVM | select * i get all sorts of usefull atributes, but i'm missing this Description field which we use in prism.



Kind regards,

Florian