Working on a product(linux-based) which provides iSCSI(TargetCLI) access to many blu-ray drives. We generate the IQN values(iqn...drive1) for these drives which reflect their physical position(port) on the SATA controller. Currently I cannot find a way to match the IQN to the actual device in Windows. I want to do this because it seems to be the best way for me to match actual physical devices to drive letters/SCSI paths/LUNs. A CLI or API for this would be great.
Would be great if there was a dandy way to just do: get-iscsiListConnectedDevices and get output that looks like: iqn...drive1 D:\ SCSI\CDROM&VEN_MATSHITA&PROD_BD-MLT_UJ260AF\1&1C121344&0&000000 Bus Number 0, Target Id 4, LUN 0