Hi Luke,
thanks for your quick reply.
That comes close to what I was looking for, but it is still missing the Controller-ID.
As an example, here the output for one of our Oracle RAC-Node VMs:
PS P:\> Get-VM OSL2420 | Get-HardDisk | Select @{N='VM';E={$_.Parent.Name}},Name,@{N='SCSIid';E={$_.ExtensionData.UnitNumber}}
VM Name SCSIid
-- ---- ------
OSL2420 Hard disk 1 0
OSL2420 Hard disk 2 1
OSL2420 Hard disk 14 2
OSL2420 Hard disk 18 3
OSL2420 Hard disk 19 4
OSL2420 Hard disk 20 5
OSL2420 Hard disk 21 6
OSL2420 Hard disk 15 0
OSL2420 Hard disk 16 1
OSL2420 Hard disk 17 2
OSL2420 Hard disk 3 3
OSL2420 Hard disk 4 4
OSL2420 Hard disk 5 5
OSL2420 Hard disk 22 6
OSL2420 Hard disk 23 8
OSL2420 Hard disk 24 9
OSL2420 Hard disk 25 10
OSL2420 Hard disk 6 0
OSL2420 Hard disk 7 1
OSL2420 Hard disk 8 2
OSL2420 Hard disk 9 3
OSL2420 Hard disk 10 4
OSL2420 Hard disk 11 5
OSL2420 Hard disk 12 0
OSL2420 Hard disk 13 1
The vital piece of information I am missing in the output is the complete SCSI-ID that shows the controller ID followed by the Disk-ID in the same form as it is shown in the VM-Settings Dialog in the vSphere-Client.
The Disk-ID on its own is useless if you use more than one SCSI-Controller.
Is there any chance to get that full SCSI-ID displayed?