Dear All[,
I would like to export all the VMs from inventory with the details which are running with VMDK and which are with RDM.
Can I have a script which will help me to achieve this target.
Thanks in advance.
Rachis
Something like this?
Get-VM | Get-HardDisk |
Select @{N='VM';E={$_.Parent.Name}},Name,@{N='HDType';E={$_.DiskType}}