LucD, thanks for posting that script! It's gotten me halfway to the report I'm trying to build. I'm wondering if someone here can help me get the rest of the info I want.
I'm trying to build a report that has the following columns: Host, VM, Disk Number, LUN ID, Runtime Name, Target, Status. Using LucD's script as a starting point I've got a script that will give me the first 4 columns, but can't figure out where to get the Runtime Name, Target or Status. Another problem is that this appears to only show each disk once, and I'm going to want each disk 4 times (once for each path - two HBA's, each dual pathed - because the runtime name will be different for each path). My script is attached, any help you all can give me would be appreciated! Thanks!