Skip to main content

Powershell Script for inventory VM in AHV Hypervisor

  • April 16, 2019
  • 1 reply
  • 2577 views

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
This topic has been closed for replies.

1 reply

Forum|alt.badge.img+3
  • Adventurer
  • April 30, 2019
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