I know I can get the serial number of all listed hard drives by using:
wmic diskdrive list brief
wmic diskdrive get serialnumber
And I can get the drive letter from the logical disk:
wmic logicaldisk list brief
wmic logicaldisk get deviceid
But how do I correlate the drive letter (logicaldisk DeviceID) with the physical disk ID (diskdrive DeviceID)? I'd like to do this from command line in a batch file if at all possible.