Here's a quick helper script I wrote that helps generate a report of specific properties of SCSI LUNs attached to a VMHost. Script supports 2 parameters, one for the VMHost and another for the HBA type you wish to target. Lots of room for improvement (e.g. parameter to target an HBA by name.) Main goal was to produce a report that ties together the LUN ID, Canonical Name and Console Device Name on a per-host basis.
Script makes 2 assumptions:
1. PowerShell already has the PowerCLI Snap-in loaded.
2. You're already connected to a VI-Server.
Hope this adds some value to the community! Enjoy!