Get NAA.ID for Virtual Machine RDM's in VMware

Published on May 6, 2014 under VMware · Tagged PowerCLI and Storage · Read in about 1 min (68 words)

This is a great script to keep handy. If you have multiple RDM’s on a VM and need to get the NAA_ID for them the below PowerCLI command will get you that information.

Get-VM VMNAME| Get-HardDisk -DiskType "RawPhysical","RawVirtual" | Select Parent,Name,DiskType,ScsiCanonicalName,DeviceName,CapacityGB | fl

If you then need to match the SCSI virtual disk to the Guest OS this is a great article on how to do so.


Share this post
comments powered by Disqus