hi
I wanna to know how can I find ROW DISK MAPs (RDMs) that attached to my VMs in Vcenter via command line or scriptting . I have more 400 vm that most of them have more than 2 attached RDM Disks .
Here is a KB article on the command to get RDMs using Powercli. This will get all VM's in the virtual center. You can also export it to a CSV
This will get RDM attached to VM in Cluster vices and in table output
#get-vm -Location Custername | Get-HardDisk -DiskType "RawPhysical","RawVirtual" | ft parent, scsicanonicalname, name, capacitykb -AutoSize