Is there any way to find our VM created on local attached disk of esxi of its physical deatils like disk serial number/ make and model.
For eg. I have esxi running and on top of it VM running on locallay attached disk (das) multiple disk (raid 1 or raid 5) want to get the physical details of those disk like serial no/make /model/vendor etc.
Thanks in advance
Give this a shot:
$myhost = get-vm $vm | get-vmhost
Get-ScsiLun -VmHost $myhost
Get-ScsiLun -vmhost $myhost | select Model,Luntype,Vendor,SerialNumber
you can run get-scsiLun | get-member to see the available options.