Using below two power cli lines we can easily find out virtual machines on the vcenter, which are having more than one hard disks.we can use same command with different parameter for find the virtual machines with other multiple hardware devices(ex two nics)

Connect-VIServer vc2.mobilab.local
get-vm | Where-Object {$_.harddisks -like “*2*”}

Advertisements