Hello,
I'm new in powershell script and I have a basic question. I try to get a LUN Number from a disk connected to an ESX server. I want this because I want to add a rdm disk to a VM but in vsphere we have to specify the device name which is unique. So to easily identify the rdm LUN I want to match the LUN Number with the device name in the property StorageDeviceInfo.
Is anyone know a easy way to do that?
Thank you
Sylvain