Skip to main content

Powershell Script for inventory VM in AHV Hypervisor

  • Apr 16, 2019 5:28 PM UTC
  • 1 reply
  • 2657 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
  • Apr 30, 2019 10:41 AM UTC
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