Check this
http://2ninjas1blog.com/how-to-match-and-correlate-windows-scsi-disk-ids-with-vmware-vmdks/
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
I have a simple application that need to look for a specific drive that has a value of 1 for scsitargetid.
When I use the command below to get all the scsi information for all of the PHYSICAL drives on my development PC I get the following output.
Get-WmiObject Win32_DiskDrive | select-object DeviceID,{$_.size/1024/1024/1024},scsiport,scsibus,scsitargetid,scsilogicalunit | out-file -FilePath c:\Users\Tester\Desktop\OutputPhysicalDrives.txt
"OutputPhysicalDrives text file output's"
DeviceID : \.\PHYSICALDRIVE1
$_.size/1024/1024/1024 : 931.510956287384
scsiport : 0
scsibus : 1
scsitargetid : 0
scsilogicalunit : 0
DeviceID : \.\PHYSICALDRIVE2
$_.size/1024/1024/1024 : 465.759308338165
scsiport : 0
scsibus : 2
scsitargetid : 0
scsilogicalunit : 0
DeviceID : \.\PHYSICALDRIVE0
$_.size/1024/1024/1024 : 447.129242420197
scsiport : 0
scsibus : 0
scsitargetid : 0
scsilogicalunit : 0
Question is, how would I set PHYSICALDRIVE2's scsitargetid value from 0 to 1 so I can use this to identify PHYSICALDRIVE2 as the drive I want to use on my application.
Other Information
OS : Windows 10 Pro 20H2 64 bit
I still need help with this.
I still need help with this issue, it has been described in more detail on another post.