Get Only AHV VMs | Nutanix Community
Skip to main content
Using PowerShell and AOS 5.11 connecting to Prism Central of mixed hypervisor environment (VMware and AHV), is there a quick way to return just the AHV VM's?



I see there are some search string, filter criteria, etc.. options for Get-NTNXVM



Right now, there are 1600 VMs and the ones I am looking for are AHV.



I can retrieve the whole list from Prism Central but I wondered if I could have it only send a filtered list.



$VMList = Get-NTNXVM | Where { $_.acropolisVm -eq "True" } but that reads all 1600 VMs from Prism Central...



Thanks!
@TimothyGaray I have tried the same on a 5.10.6 PC and command works . It only lists the AHV VMs