(imported comment written by SystemAdmin)
Hi Brolly, I didn’t mean to leave you hanging, but duty calls. I tested it right after you posted and ran into a singular/plural issue (Error: Singular expression refers to non-unique object.). I was under a deadline, so I ended up dropping the vbscript on the systems to get the data I needed right away.
Unfortunately, I haven’t had time to dig in and figure out the specific line, althought I have a feeling it’s related to the 2nd tuple. I’ve extracted the individual result sets from each tuple along with the wmi results in case it helps.
HKEY_LOCAL_MACHINE\HARDWARE\DEVICEMAP\Scsi\Scsi Port 0, ( Scsi Bus 0, ( Target Id 0, ( Logical Unit Id 0, SAMSUNG CD-ROM SN-124 ) ) ) HKEY_LOCAL_MACHINE\HARDWARE\DEVICEMAP\Scsi\Scsi Port 4, ( Scsi Bus 0, ( Target Id 0, ( Logical Unit Id 0, DELL Container%00%00%00%00%00%00%00V1.0 ) ) ) HKEY_LOCAL_MACHINE\HARDWARE\DEVICEMAP\Scsi\SCSI Port 5\Scsi Bus 0\Target Id 1\Logical Unit Id 0||11||0 HKEY_LOCAL_MACHINE\HARDWARE\DEVICEMAP\Scsi\SCSI Port 5\Scsi Bus 0\Target Id 1\Logical Unit Id 0||12||7 HKEY_LOCAL_MACHINE\HARDWARE\DEVICEMAP\Scsi\SCSI Port 4\Scsi Bus 4\Target Id 0\Logical Unit Id 4||0||16 HKEY_LOCAL_MACHINE\HARDWARE\DEVICEMAP\Scsi\SCSI Port 5\Scsi Bus 0\Target Id 4\Logical Unit Id 0||3||0 HKEY_LOCAL_MACHINE\HARDWARE\DEVICEMAP\Scsi\SCSI Port 5\Scsi Bus 0\Target Id 4\Logical Unit Id 0||5||16 HKEY_LOCAL_MACHINE\HARDWARE\DEVICEMAP\Scsi\SCSI Port 5\Scsi Bus 0\Target Id 4\Logical Unit Id 0||4||8 HKEY_LOCAL_MACHINE\HARDWARE\DEVICEMAP\Scsi\SCSI Port 5\Scsi Bus 0\Target Id 5\Logical Unit Id 0||6||4 HKEY_LOCAL_MACHINE\HARDWARE\DEVICEMAP\Scsi\SCSI Port 5\Scsi Bus 0\Target Id 5\Logical Unit Id 0||7||309 HKEY_LOCAL_MACHINE\HARDWARE\DEVICEMAP\Scsi\SCSI Port 5\Scsi Bus 0\Target Id 5\Logical Unit Id 0||8||4 HKEY_LOCAL_MACHINE\HARDWARE\DEVICEMAP\Scsi\SCSI Port 5\Scsi Bus 0\Target Id 0\Logical Unit Id 0||1||4 HKEY_LOCAL_MACHINE\HARDWARE\DEVICEMAP\Scsi\SCSI Port 5\Scsi Bus 0\Target Id 6\Logical Unit Id 0||10||0 HKEY_LOCAL_MACHINE\HARDWARE\DEVICEMAP\Scsi\SCSI Port 5\Scsi Bus 0\Target Id 6\Logical Unit Id 0||9||13 HKEY_LOCAL_MACHINE\HARDWARE\DEVICEMAP\Scsi\SCSI Port 5\Scsi Bus 0\Target Id 3\Logical Unit Id 0||2||19 HKEY_LOCAL_MACHINE\HARDWARE\DEVICEMAP\Scsi\SCSI Port 5\Scsi Bus 0\Target Id 1\Logical Unit Id 0||11||0, 0||C:||16 HKEY_LOCAL_MACHINE\HARDWARE\DEVICEMAP\Scsi\SCSI Port 5\Scsi Bus 0\Target Id 1\Logical Unit Id 0||11||0, 7||D:||309 HKEY_LOCAL_MACHINE\HARDWARE\DEVICEMAP\Scsi\SCSI Port 5\Scsi Bus 0\Target Id 1\Logical Unit Id 0||11||0, 9||G:||13 HKEY_LOCAL_MACHINE\HARDWARE\DEVICEMAP\Scsi\SCSI Port 5\Scsi Bus 0\Target Id 1\Logical Unit Id 0||11||0, 2||I:||19 HKEY_LOCAL_MACHINE\HARDWARE\DEVICEMAP\Scsi\SCSI Port 5\Scsi Bus 0\Target Id 1\Logical Unit Id 0||11||0, 6||J:||4 HKEY_LOCAL_MACHINE\HARDWARE\DEVICEMAP\Scsi\SCSI Port 5\Scsi Bus 0\Target Id 1\Logical Unit Id 0||11||0, 1||K:||4 HKEY_LOCAL_MACHINE\HARDWARE\DEVICEMAP\Scsi\SCSI Port 5\Scsi Bus 0\Target Id 1\Logical Unit Id 0||11||0, 1||L:||0 HKEY_LOCAL_MACHINE\HARDWARE\DEVICEMAP\Scsi\SCSI Port 5\Scsi Bus 0\Target Id 1\Logical Unit Id 0||11||0, 1||M:||7 HKEY_LOCAL_MACHINE\HARDWARE\DEVICEMAP\Scsi\SCSI Port 5\Scsi Bus 0\Target Id 1\Logical Unit Id 0||11||0, 4||O:||8 HKEY_LOCAL_MACHINE\HARDWARE\DEVICEMAP\Scsi\SCSI Port 5\Scsi Bus 0\Target Id 1\Logical Unit Id 0||11||0, 1||U:||0 HKEY_LOCAL_MACHINE\HARDWARE\DEVICEMAP\Scsi\SCSI Port 5\Scsi Bus 0\Target Id 1\Logical Unit Id 0||11||0, 5||X:||16 HKEY_LOCAL_MACHINE\HARDWARE\DEVICEMAP\Scsi\SCSI Port 5\Scsi Bus 0\Target Id 1\Logical Unit Id 0||12||7, 0||C:||16 HKEY_LOCAL_MACHINE\HARDWARE\DEVICEMAP\Scsi\SCSI Port 5\Scsi Bus 0\Target Id 1\Logical Unit Id 0||12||7, 7||D:||309 HKEY_LOCAL_MACHINE\HARDWARE\DEVICEMAP\Scsi\SCSI Port 5\Scsi Bus 0\Target Id 1\Logical Unit Id 0||12||7, 9||G:||13 HKEY_LOCAL_MACHINE\HARDWARE\DEVICEMAP\Scsi\SCSI Port 5\Scsi Bus 0\Target Id 1\Logical Unit Id 0||12||7, 2||I:||19 HKEY_LOCAL_MACHINE\HARDWARE\DEVICEMAP\Scsi\SCSI Port 5\Scsi Bus 0\Target Id 1\Logical Unit Id 0||12||7, 6||J:||4 HKEY_LOCAL_MACHINE\HARDWARE\DEVICEMAP\Scsi\SCSI Port 5\Scsi Bus 0\Target Id 1\Logical Unit Id 0||12||7, 1||K:||4 HKEY_LOCAL_MACHINE\HARDWARE\DEVICEMAP\Scsi\SCSI Port 5\Scsi Bus 0\Target Id 1\Logical Unit Id 0||12||7, 1||L:||0 HKEY_LOCAL_MACHINE\HARDWARE\DEVICEMAP\Scsi\SCSI Port 5\Scsi Bus 0\Target Id 1\Logical Unit Id 0||12||7, 1||M:||7 HKEY_LOCAL_MACHINE\HARDWARE\DEVICEMAP\Scsi\SCSI Port 5\Scsi Bus 0\Target Id 1\Logical Unit Id 0||12||7, 4||O:||8 HKEY_LOCAL_MACHINE\HARDWARE\DEVICEMAP\Scsi\SCSI Port 5\Scsi Bus 0\Target Id 1\Logical Unit Id 0||12||7, 1||U:||0 HKEY_LOCAL_MACHINE\HARDWARE\DEVICEMAP\Scsi\SCSI Port 5\Scsi Bus 0\Target Id 1\Logical Unit Id 0||12||7, 5||X:||16 HKEY_LOCAL_MACHINE\HARDWARE\DEVICEMAP\Scsi\SCSI Port 4\Scsi Bus 4\Target Id 0\Logical Unit Id 4||0||16, 0||C:||16 HKEY_LOCAL_MACHINE\HARDWARE\DEVICEMAP\Scsi\SCSI Port 4\Scsi Bus 4\Target Id 0\Logical Unit Id 4||0||16, 7||D:||309 HKEY_LOCAL_MACHINE\HARDWARE\DEVICEMAP\Scsi\SCSI Port 4\Scsi Bus 4\Target Id 0\Logical Unit Id 4||0||16, 9||G:||13 HKEY_LOCAL_MACHINE\HARDWARE\DEVICEMAP\Scsi\SCSI Port 4\Scsi Bus 4\Target Id 0\Logical Unit Id 4||0||16, 2||I:||19 HKEY_LOCAL_MACHINE\HARDWARE\DEVICEMAP\Scsi\SCSI Port 4\Scsi Bus 4\Target Id 0\Logical Unit Id 4||0||16, 6||J:||4 HKEY_LOCAL_MACHINE\HARDWARE\DEVICEMAP\Scsi\SCSI Port 4\Scsi Bus 4\Target Id 0\Logical Unit Id 4||0||16, 1||K:||4 HKEY_LOCAL_MACHINE\HARDWARE\DEVICEMAP\Scsi\SCSI Port 4\Scsi Bus 4\Target Id 0\Logical Unit Id 4||0||16, 1||L:||0 HKEY_LOCAL_MACHINE\HARDWARE\DEVICEMAP\Scsi\SCSI Port 4\Scsi Bus 4\Target Id 0\Logical Unit Id 4||0||16, 1||M:||7 HKEY_LOCAL_MACHINE\HARDWARE\DEVICEMAP\Scsi\SCSI Port 4\Scsi Bus 4\Target Id 0\Logical Unit Id 4||0||16, 4||O:||8 HKEY_LOCAL_MACHINE\HARDWARE\DEVICEMAP\Scsi\SCSI Port 4\Scsi Bus 4\Target Id 0\Logical Unit Id 4||0||16, 1||U:||0 HKEY_LOCAL_MACHINE\HARDWARE\DEVICEMAP\Scsi\SCSI Port 4\Scsi Bus 4\Target Id 0\Logical Unit Id 4||0||16, 5||X:||16 HKEY_LOCAL_MACHINE\HARDWARE\DEVICEMAP\Scsi\SCSI Port 5\Scsi Bus 0\Target Id 4\Logical Unit Id 0||3||0, 0||C:||16 HKEY_LOCAL_MACHINE\HARDWARE\DEVICEMAP\Scsi\SCSI Port 5\Scsi Bus 0\Target Id 4\Logical Unit Id 0||3||0, 7||D:||309 HKEY_LOCAL_MACHINE\HARDWARE\DEVICEMAP\Scsi\SCSI Port 5\Scsi Bus 0\Target Id 4\Logical Unit Id 0||3||0, 9||G:||13 HKEY_LOCAL_MACHINE\HARDWARE\DEVICEMAP\Scsi\SCSI Port 5\Scsi Bus 0\Target Id 4\Logical Unit Id 0||3||0, 2||I:||19 HKEY_LOCAL_MACHINE\HARDWARE\DEVICEMAP\Scsi\SCSI Port 5\Scsi Bus 0\Target Id 4\Logical Unit Id 0||3||0, 6||J:||4 HKEY_LOCAL_MACHINE\HARDWARE\DEVICEMAP\Scsi\SCSI Port 5\Scsi Bus 0\Target Id 4\Logical Unit Id 0||3||0, 1||K:||4 HKEY_LOCAL_MACHINE\HARDWARE\DEVICEMAP\Scsi\SCSI Port 5\Scsi Bus 0\Target Id 4\Logical Unit Id 0||3||0, 1||L:||0 HKEY_LOCAL_MACHINE\HARDWARE\DEVICEMAP\Scsi\SCSI Port 5\Scsi Bus 0\Target Id 4\Logical Unit Id 0||3||0, 1||M:||7 HKEY_LOCAL_MACHINE\HARDWARE\DEVICEMAP\Scsi\SCSI Port 5\Scsi Bus 0\Target Id 4\Logical Unit Id 0||3||0, 4||O:||8 HKEY_LOCAL_MACHINE\HARDWARE\DEVICEMAP\Scsi\SCSI Port 5\Scsi Bus 0\Target Id 4\Logical Unit Id 0||3||0, 1||U:||0 HKEY_LOCAL_MACHINE\HARDWARE\DEVICEMAP\Scsi\SCSI Port 5\Scsi Bus 0\Target Id 4\Logical Unit Id 0||3||0, 5||X:||16 HKEY_LOCAL_MACHINE\HARDWARE\DEVICEMAP\Scsi\SCSI Port 5\Scsi Bus 0\Target Id 4\Logical Unit Id 0||5||16, 0||C:||16 HKEY_LOCAL_MACHINE\HARDWARE\DEVICEMAP\Scsi\SCSI Port 5\Scsi Bus 0\Target Id 4\Logical Unit Id 0||5||16, 7||D:||309 HKEY_LOCAL_MACHINE\HARDWARE\DEVICEMAP\Scsi\SCSI Port 5\Scsi Bus 0\Target Id 4\Logical Unit Id 0||5||16, 9||G:||13 HKEY_LOCAL_MACHINE\HARDWARE\DEVICEMAP\Scsi\SCSI Port 5\Scsi Bus 0\Target Id 4\Logical Unit Id 0||5||16, 2||I:||19 HKEY_LOCAL_MACHINE\HARDWARE\DEVICEMAP\Scsi\SCSI Port 5\Scsi Bus 0\Target Id 4\Logical Unit Id 0||5||16, 6||J:||4 HKEY_LOCAL_MACHINE\HARDWARE\DEVICEMAP\Scsi\SCSI Port 5\Scsi Bus 0\Target Id 4\Logical Unit Id 0||5||16, 1||K:||4 HKEY_LOCAL_MACHINE\HARDWARE\DEVICEMAP\Scsi\SCSI Port 5\Scsi Bus 0\Target Id 4\Logical Unit Id 0||5||16, 1||L:||0 HKEY_LOCAL_MACHINE\HARDWARE\DEVICEMAP\Scsi\SCSI Port 5\Scsi Bus 0\Target Id 4\Logical Unit Id 0||5||16, 1||M:||7 HKEY_LOCAL_MACHINE\HARDWARE\DEVICEMAP\Scsi\SCSI Port 5\Scsi Bus 0\Target Id 4\Logical Unit Id 0||5||16, 4||O:||8 HKEY_LOCAL_MACHINE\HARDWARE\DEVICEMAP\Scsi\SCSI Port 5\Scsi Bus 0\Target Id 4\Logical Unit Id 0||5||16, 1||U:||0 HKEY_LOCAL_MACHINE\HARDWARE\DEVICEMAP\Scsi\SCSI Port 5\Scsi Bus 0\Target Id 4\Logical Unit Id 0||5||16, 5||X:||16 HKEY_LOCAL_MACHINE\HARDWARE\DEVICEMAP\Scsi\SCSI Port 5\Scsi Bus 0\Target Id 4\Logical Unit Id 0||4||8, 0||C:||16 HKEY_LOCAL_MACHINE\HARDWARE\DEVICEMAP\Scsi\SCSI Port 5\Scsi Bus 0\Target Id 4\Logical Unit Id 0||4||8, 7||D:||309 HKEY_LOCAL_MACHINE\HARDWARE\DEVICEMAP\Scsi\SCSI Port 5\Scsi Bus 0\Target Id 4\Logical Unit Id 0||4||8, 9||G:||13 HKEY_LOCAL_MACHINE\HARDWARE\DEVICEMAP\Scsi\SCSI Port 5\Scsi Bus 0\Target Id 4\Logical Unit Id 0||4||8, 2||I:||19 HKEY_LOCAL_MACHINE\HARDWARE\DEVICEMAP\Scsi\SCSI Port 5\Scsi Bus 0\Target Id 4\Logical Unit Id 0||4||8, 6||J:||4 HKEY_LOCAL_MACHINE\HARDWARE\DEVICEMAP\Scsi\SCSI Port 5\Scsi Bus 0\Target Id 4\Logical Unit Id 0||4||8, 1||K:||4 HKEY_LOCAL_MACHINE\HARDWARE\DEVICEMAP\Scsi\SCSI Port 5\Scsi Bus 0\Target Id 4\Logical Unit Id 0||4||8, 1||L:||0 HKEY_LOCAL_MACHINE\HARDWARE\DEVICEMAP\Scsi\SCSI Port 5\Scsi Bus 0\Target Id 4\Logical Unit Id 0||4||8, 1||M:||7 HKEY_LOCAL_MACHINE\HARDWARE\DEVICEMAP\Scsi\SCSI Port 5\Scsi Bus 0\Target Id 4\Logical Unit Id 0||4||8, 4||O:||8 HKEY_LOCAL_MACHINE\HARDWARE\DEVICEMAP\Scsi\SCSI Port 5\Scsi Bus 0\Target Id 4\Logical Unit Id 0||4||8, 1||U:||0 HKEY_LOCAL_MACHINE\HARDWARE\DEVICEMAP\Scsi\SCSI Port 5\Scsi Bus 0\Target Id 4\Logical Unit Id 0||4||8, 5||X:||16 HKEY_LOCAL_MACHINE\HARDWARE\DEVICEMAP\Scsi\SCSI Port 5\Scsi Bus 0\Target Id 5\Logical Unit Id 0||6||4, 0||C:||16 HKEY_LOCAL_MACHINE\HARDWARE\DEVICEMAP\Scsi\SCSI Port 5\Scsi Bus 0\Target Id 5\Logical Unit Id 0||6||4, 7||D:||309 HKEY_LOCAL_MACHINE\HARDWARE\DEVICEMAP\Scsi\SCSI Port 5\Scsi Bus 0\Target Id 5\Logical Unit Id 0||6||4, 9||G:||13 HKEY_LOCAL_MACHINE\HARDWARE\DEVICEMAP\Scsi\SCSI Port 5\Scsi Bus 0\Target Id 5\Logical Unit Id 0||6||4, 2||I:||19 HKEY_LOCAL_MACHINE\HARDWARE\DEVICEMAP\Scsi\SCSI Port 5\Scsi Bus 0\Target Id 5\Logical Unit Id 0||6||4, 6||J:||4 HKEY_LOCAL_MACHINE\HARDWARE\DEVICEMAP\Scsi\SCSI Port 5\Scsi Bus 0\Target Id 5\Logical Unit Id 0||6||4, 1||K:||4 HKEY_LOCAL_MACHINE\HARDWARE\DEVICEMAP\Scsi\SCSI Port 5\Scsi Bus 0\Target Id 5\Logical Unit Id 0||6||4, 1||L:||0 HKEY_LOCAL_MACHINE\HARDWARE\DEVICEMAP\Scsi\SCSI Port 5\Scsi Bus 0\Target Id 5\Logical Unit Id 0||6||4, 1||M:||7 HKEY_LOCAL_MACHINE\HARDWARE\DEVICEMAP\Scsi\SCSI Port 5\Scsi Bus 0\Target Id 5\Logical Unit Id 0||6||4, 4||O:||8 HKEY_LOCAL_MACHINE\HARDWARE\DEVICEMAP\Scsi\SCSI Port 5\Scsi Bus 0\Target Id 5\Logical Unit Id 0||6||4, 1||U:||0 HKEY_LOCAL_MACHINE\HARDWARE\DEVICEMAP\Scsi\SCSI Port 5\Scsi Bus 0\Target Id 5\Logical Unit Id 0||6||4, 5||X:||16 HKEY_LOCAL_MACHINE\HARDWARE\DEVICEMAP\Scsi\SCSI Port 5\Scsi Bus 0\Target Id 5\Logical Unit Id 0||7||309, 0||C:||16 HKEY_LOCAL_MACHINE\HARDWARE\DEVICEMAP\Scsi\SCSI Port 5\Scsi Bus 0\Target Id 5\Logical Unit Id 0||7||309, 7||D:||309 HKEY_LOCAL_MACHINE\HARDWARE\DEVICEMAP\Scsi\SCSI Port 5\Scsi Bus 0\Target Id 5\Logical Unit Id 0||7||309, 9||G:||13 HKEY_LOCAL_MACHINE\HARDWARE\DEVICEMAP\Scsi\SCSI Port 5\Scsi Bus 0\Target Id 5\Logical Unit Id 0||7||309, 2||I:||19 HKEY_LOCAL_MACHINE\HARDWARE\DEVICEMAP\Scsi\SCSI Port 5\Scsi Bus 0\Target Id 5\Logical Unit Id 0||7||309, 6||J:||4 HKEY_LOCAL_MACHINE\HARDWARE\DEVICEMAP\Scsi\SCSI Port 5\Scsi Bus 0\Target Id 5\Logical Unit Id 0||7||309, 1||K:||4 HKEY_LOCAL_MACHINE\HARDWARE\DEVICEMAP\Scsi\SCSI Port 5\Scsi Bus 0\Target Id 5\Logical Unit Id 0||7||309, 1||L:||0 HKEY_LOCAL_MACHINE\HARDWARE\DEVICEMAP\Scsi\SCSI Port 5\Scsi Bus 0\Target Id 5\Logical Unit Id 0||7||309, 1||M:||7 HKEY_LOCAL_MACHINE\HARDWARE\DEVICEMAP\Scsi\SCSI Port 5\Scsi Bus 0\Target Id 5\Logical Unit Id 0||7||309, 4||O:||8 HKEY_LOCAL_MACHINE\HARDWARE\DEVICEMAP\Scsi\SCSI Port 5\Scsi Bus 0\Target Id 5\Logical Unit Id 0||7||309, 1||U:||0 HKEY_LOCAL_MACHINE\HARDWARE\DEVICEMAP\Scsi\SCSI Port 5\Scsi Bus 0\Target Id 5\Logical Unit Id 0||7||309, 5||X:||16 HKEY_LOCAL_MACHINE\HARDWARE\DEVICEMAP\Scsi\SCSI Port 5\Scsi Bus 0\Target Id 5\Logical Unit Id 0||8||4, 0||C:||16 HKEY_LOCAL_MACHINE\HARDWARE\DEVICEMAP\Scsi\SCSI Port 5\Scsi Bus 0\Target Id 5\Logical Unit Id 0||8||4, 7||D:||309 HKEY_LOCAL_MACHINE\HARDWARE\DEVICEMAP\Scsi\SCSI Port 5\Scsi Bus 0\Target Id 5\Logical Unit Id 0||8||4, 9||G:||13 HKEY_LOCAL_MACHINE\HARDWARE\DEVICEMAP\Scsi\SCSI Port 5\Scsi Bus 0\Target Id 5\Logical Unit Id 0||8||4, 2||I:||19 HKEY_LOCAL_MACHINE\HARDWARE\DEVICEMAP\Scsi\SCSI Port 5\Scsi Bus 0\Target Id 5\Logical Unit Id 0||8||4, 6||J:||4 HKEY_LOCAL_MACHINE\HARDWARE\DEVICEMAP\Scsi\SCSI Port 5\Scsi Bus 0\Target Id 5\Logical Unit Id 0||8||4, 1||K:||4 HKEY_LOCAL_MACHINE\HARDWARE\DEVICEMAP\Scsi\SCSI Port 5\Scsi Bus 0\Target Id 5\Logical Unit Id 0||8||4, 1||L:||0 HKEY_LOCAL_MACHINE\HARDWARE\DEVICEMAP\Scsi\SCSI Port 5\Scsi Bus 0\Target Id 5\Logical Unit Id 0||8||4, 1||M:||7 HKEY_LOCAL_MACHINE\HARDWARE\DEVICEMAP\Scsi\SCSI Port 5\Scsi Bus 0\Target Id 5\Logical Unit Id 0||8||4, 4||O:||8 HKEY_LOCAL_MACHINE\HARDWARE\DEVICEMAP\Scsi\SCSI Port 5\Scsi Bus 0\Target Id 5\Logical Unit Id 0||8||4, 1||U:||0 HKEY_LOCAL_MACHINE\HARDWARE\DEVICEMAP\Scsi\SCSI Port 5\Scsi Bus 0\Target Id 5\Logical Unit Id 0||8||4, 5||X:||16 HKEY_LOCAL_MACHINE\HARDWARE\DEVICEMAP\Scsi\SCSI Port 5\Scsi Bus 0\Target Id 0\Logical Unit Id 0||1||4, 0||C:||16 HKEY_LOCAL_MACHINE\HARDWARE\DEVICEMAP\Scsi\SCSI Port 5\Scsi Bus 0\Target Id 0\Logical Unit Id 0||1||4, 7||D:||309 HKEY_LOCAL_MACHINE\HARDWARE\DEVICEMAP\Scsi\SCSI Port 5\Scsi Bus 0\Target Id 0\Logical Unit Id 0||1||4, 9||G:||13 HKEY_LOCAL_MACHINE\HARDWARE\DEVICEMAP\Scsi\SCSI Port 5\Scsi Bus 0\Target Id 0\Logical Unit Id 0||1||4, 2||I:||19 HKEY_LOCAL_MACHINE\HARDWARE\DEVICEMAP\Scsi\SCSI Port 5\Scsi Bus 0\Target Id 0\Logical Unit Id 0||1||4, 6||J:||4 HKEY_LOCAL_MACHINE\HARDWARE\DEVICEMAP\Scsi\SCSI Port 5\Scsi Bus 0\Target Id 0\Logical Unit Id 0||1||4, 1||K:||4 HKEY_LOCAL_MACHINE\HARDWARE\DEVICEMAP\Scsi\SCSI Port 5\Scsi Bus 0\Target Id 0\Logical Unit Id 0||1||4, 1||L:||0 HKEY_LOCAL_MACHINE\HARDWARE\DEVICEMAP\Scsi\SCSI Port 5\Scsi Bus 0\Target Id 0\Logical Unit Id 0||1||4, 1||M:||7 HKEY_LOCAL_MACHINE\HARDWARE\DEVICEMAP\Scsi\SCSI Port 5\Scsi Bus 0\Target Id 0\Logical Unit Id 0||1||4, 4||O:||8 HKEY_LOCAL_MACHINE\HARDWARE\DEVICEMAP\Scsi\SCSI Port 5\Scsi Bus 0\Target Id 0\Logical Unit Id 0||1||4, 1||U:||0 HKEY_LOCAL_MACHINE\HARDWARE\DEVICEMAP\Scsi\SCSI Port 5\Scsi Bus 0\Target Id 0\Logical Unit Id 0||1||4, 5||X:||16 HKEY_LOCAL_MACHINE\HARDWARE\DEVICEMAP\Scsi\SCSI Port 5\Scsi Bus 0\Target Id 6\Logical Unit Id 0||10||0, 0||C:||16 HKEY_LOCAL_MACHINE\HARDWARE\DEVICEMAP\Scsi\SCSI Port 5\Scsi Bus 0\Target Id 6\Logical Unit Id 0||10||0, 7||D:||309 HKEY_LOCAL_MACHINE\HARDWARE\DEVICEMAP\Scsi\SCSI Port 5\Scsi Bus 0\Target Id 6\Logical Unit Id 0||10||0, 9||G:||13 HKEY_LOCAL_MACHINE\HARDWARE\DEVICEMAP\Scsi\SCSI Port 5\Scsi Bus 0\Target Id 6\Logical Unit Id 0||10||0, 2||I:||19 HKEY_LOCAL_MACHINE\HARDWARE\DEVICEMAP\Scsi\SCSI Port 5\Scsi Bus 0\Target Id 6\Logical Unit Id 0||10||0, 6||J:||4 HKEY_LOCAL_MACHINE\HARDWARE\DEVICEMAP\Scsi\SCSI Port 5\Scsi Bus 0\Target Id 6\Logical Unit Id 0||10||0, 1||K:||4 HKEY_LOCAL_MACHINE\HARDWARE\DEVICEMAP\Scsi\SCSI Port 5\Scsi Bus 0\Target Id 6\Logical Unit Id 0||10||0, 1||L:||0 HKEY_LOCAL_MACHINE\HARDWARE\DEVICEMAP\Scsi\SCSI Port 5\Scsi Bus 0\Target Id 6\Logical Unit Id 0||10||0, 1||M:||7 HKEY_LOCAL_MACHINE\HARDWARE\DEVICEMAP\Scsi\SCSI Port 5\Scsi Bus 0\Target Id 6\Logical Unit Id 0||10||0, 4||O:||8 HKEY_LOCAL_MACHINE\HARDWARE\DEVICEMAP\Scsi\SCSI Port 5\Scsi Bus 0\Target Id 6\Logical Unit Id 0||10||0, 1||U:||0 HKEY_LOCAL_MACHINE\HARDWARE\DEVICEMAP\Scsi\SCSI Port 5\Scsi Bus 0\Target Id 6\Logical Unit Id 0||10||0, 5||X:||16 HKEY_LOCAL_MACHINE\HARDWARE\DEVICEMAP\Scsi\SCSI Port 5\Scsi Bus 0\Target Id 6\Logical Unit Id 0||9||13, 0||C:||16 HKEY_LOCAL_MACHINE\HARDWARE\DEVICEMAP\Scsi\SCSI Port 5\Scsi Bus 0\Target Id 6\Logical Unit Id 0||9||13, 7||D:||309 HKEY_LOCAL_MACHINE\HARDWARE\DEVICEMAP\Scsi\SCSI Port 5\Scsi Bus 0\Target Id 6\Logical Unit Id 0||9||13, 9||G:||13 HKEY_LOCAL_MACHINE\HARDWARE\DEVICEMAP\Scsi\SCSI Port 5\Scsi Bus 0\Target Id 6\Logical Unit Id 0||9||13, 2||I:||19 HKEY_LOCAL_MACHINE\HARDWARE\DEVICEMAP\Scsi\SCSI Port 5\Scsi Bus 0\Target Id 6\Logical Unit Id 0||9||13, 6||J:||4 HKEY_LOCAL_MACHINE\HARDWARE\DEVICEMAP\Scsi\SCSI Port 5\Scsi Bus 0\Target Id 6\Logical Unit Id 0||9||13, 1||K:||4 HKEY_LOCAL_MACHINE\HARDWARE\DEVICEMAP\Scsi\SCSI Port 5\Scsi Bus 0\Target Id 6\Logical Unit Id 0||9||13, 1||L:||0 HKEY_LOCAL_MACHINE\HARDWARE\DEVICEMAP\Scsi\SCSI Port 5\Scsi Bus 0\Target Id 6\Logical Unit Id 0||9||13, 1||M:||7 HKEY_LOCAL_MACHINE\HARDWARE\DEVICEMAP\Scsi\SCSI Port 5\Scsi Bus 0\Target Id 6\Logical Unit Id 0||9||13, 4||O:||8 HKEY_LOCAL_MACHINE\HARDWARE\DEVICEMAP\Scsi\SCSI Port 5\Scsi Bus 0\Target Id 6\Logical Unit Id 0||9||13, 1||U:||0 HKEY_LOCAL_MACHINE\HARDWARE\DEVICEMAP\Scsi\SCSI Port 5\Scsi Bus 0\Target Id 6\Logical Unit Id 0||9||13, 5||X:||16 HKEY_LOCAL_MACHINE\HARDWARE\DEVICEMAP\Scsi\SCSI Port 5\Scsi Bus 0\Target Id 3\Logical Unit Id 0||2||19, 0||C:||16 HKEY_LOCAL_MACHINE\HARDWARE\DEVICEMAP\Scsi\SCSI Port 5\Scsi Bus 0\Target Id 3\Logical Unit Id 0||2||19, 7||D:||309 HKEY_LOCAL_MACHINE\HARDWARE\DEVICEMAP\Scsi\SCSI Port 5\Scsi Bus 0\Target Id 3\Logical Unit Id 0||2||19, 9||G:||13 HKEY_LOCAL_MACHINE\HARDWARE\DEVICEMAP\Scsi\SCSI Port 5\Scsi Bus 0\Target Id 3\Logical Unit Id 0||2||19, 2||I:||19 HKEY_LOCAL_MACHINE\HARDWARE\DEVICEMAP\Scsi\SCSI Port 5\Scsi Bus 0\Target Id 3\Logical Unit Id 0||2||19, 6||J:||4 HKEY_LOCAL_MACHINE\HARDWARE\DEVICEMAP\Scsi\SCSI Port 5\Scsi Bus 0\Target Id 3\Logical Unit Id 0||2||19, 1||K:||4 HKEY_LOCAL_MACHINE\HARDWARE\DEVICEMAP\Scsi\SCSI Port 5\Scsi Bus 0\Target Id 3\Logical Unit Id 0||2||19, 1||L:||0 HKEY_LOCAL_MACHINE\HARDWARE\DEVICEMAP\Scsi\SCSI Port 5\Scsi Bus 0\Target Id 3\Logical Unit Id 0||2||19, 1||M:||7 HKEY_LOCAL_MACHINE\HARDWARE\DEVICEMAP\Scsi\SCSI Port 5\Scsi Bus 0\Target Id 3\Logical Unit Id 0||2||19, 4||O:||8 HKEY_LOCAL_MACHINE\HARDWARE\DEVICEMAP\Scsi\SCSI Port 5\Scsi Bus 0\Target Id 3\Logical Unit Id 0||2||19, 1||U:||0 HKEY_LOCAL_MACHINE\HARDWARE\DEVICEMAP\Scsi\SCSI Port 5\Scsi Bus 0\Target Id 3\Logical Unit Id 0||2||19, 5||X:||16 select objects
"Caption, DeviceID, InterfaceType, Model, Name, SCSIPort, SCSIBus, SCSITargetID, SCSILogicalUnit, Size FROM Win32_DiskDrive" of wmi %0ainstance of Win32_DiskDrive%0a
{%0a%09Caption =
"RDAC Virtual Disk";%0a%09DeviceID =
"\\\\.\\PHYSICALDRIVE11";%0a%09InterfaceType =
"SCSI";%0a%09Model =
"RDAC Virtual Disk";%0a%09Name =
"\\\\.\\PHYSICALDRIVE11";%0a%09SCSIBus = 0;%0a%09SCSILogicalUnit = 0;%0a%09SCSIPort = 5;%0a%09SCSITargetId = 1;%0a%09Size =
"1069286400";%0a
};%0a %0ainstance of Win32_DiskDrive%0a
{%0a%09Caption =
"RDAC Virtual Disk";%0a%09DeviceID =
"\\\\.\\PHYSICALDRIVE12";%0a%09InterfaceType =
"SCSI";%0a%09Model =
"RDAC Virtual Disk";%0a%09Name =
"\\\\.\\PHYSICALDRIVE12";%0a%09SCSIBus = 0;%0a%09SCSILogicalUnit = 1;%0a%09SCSIPort = 5;%0a%09SCSITargetId = 1;%0a%09Size =
"8373335040";%0a
};%0a %0ainstance of Win32_DiskDrive%0a
{%0a%09Caption =
"DELL Container SCSI Disk Device";%0a%09DeviceID =
"\\\\.\\PHYSICALDRIVE0";%0a%09InterfaceType =
"SCSI";%0a%09Model =
"DELL Container SCSI Disk Device";%0a%09Name =
"\\\\.\\PHYSICALDRIVE0";%0a%09SCSIBus = 4;%0a%09SCSILogicalUnit = 0;%0a%09SCSIPort = 4;%0a%09SCSITargetId = 0;%0a%09Size =
"18194319360";%0a
};%0a %0ainstance of Win32_DiskDrive%0a
{%0a%09Caption =
"PowerDevice by PowerPath";%0a%09DeviceID =
"\\\\.\\PHYSICALDRIVE3";%0a%09InterfaceType =
"SCSI";%0a%09Model =
"PowerDevice by PowerPath";%0a%09Name =
"\\\\.\\PHYSICALDRIVE3";%0a%09SCSIBus = 0;%0a%09SCSILogicalUnit = 0;%0a%09SCSIPort = 5;%0a%09SCSITargetId = 4;%0a%09Size =
"41126400";%0a
};%0a %0ainstance of Win32_DiskDrive%0a
{%0a%09Caption =
"PowerDevice by PowerPath";%0a%09DeviceID =
"\\\\.\\PHYSICALDRIVE5";%0a%09InterfaceType =
"SCSI";%0a%09Model =
"PowerDevice by PowerPath";%0a%09Name =
"\\\\.\\PHYSICALDRIVE5";%0a%09SCSIBus = 0;%0a%09SCSILogicalUnit = 246;%0a%09SCSIPort = 5;%0a%09SCSITargetId = 4;%0a%09Size =
"18095616000";%0a
};%0a %0ainstance of Win32_DiskDrive%0a
{%0a%09Caption =
"PowerDevice by PowerPath";%0a%09DeviceID =
"\\\\.\\PHYSICALDRIVE4";%0a%09InterfaceType =
"SCSI";%0a%09Model =
"PowerDevice by PowerPath";%0a%09Name =
"\\\\.\\PHYSICALDRIVE4";%0a%09SCSIBus = 0;%0a%09SCSILogicalUnit = 245;%0a%09SCSIPort = 5;%0a%09SCSITargetId = 4;%0a%09Size =
"9047808000";%0a
};%0a %0ainstance of Win32_DiskDrive%0a
{%0a%09Caption =
"PowerDevice by PowerPath";%0a%09DeviceID =
"\\\\.\\PHYSICALDRIVE6";%0a%09InterfaceType =
"SCSI";%0a%09Model =
"PowerDevice by PowerPath";%0a%09Name =
"\\\\.\\PHYSICALDRIVE6";%0a%09SCSIBus = 0;%0a%09SCSILogicalUnit = 0;%0a%09SCSIPort = 5;%0a%09SCSITargetId = 5;%0a%09Size =
"5362882560";%0a
};%0a %0ainstance of Win32_DiskDrive%0a
{%0a%09Caption =
"PowerDevice by PowerPath";%0a%09DeviceID =
"\\\\.\\PHYSICALDRIVE7";%0a%09InterfaceType =
"SCSI";%0a%09Model =
"PowerDevice by PowerPath";%0a%09Name =
"\\\\.\\PHYSICALDRIVE7";%0a%09SCSIBus = 0;%0a%09SCSILogicalUnit = 1;%0a%09SCSIPort = 5;%0a%09SCSITargetId = 5;%0a%09Size =
"332852405760";%0a
};%0a %0ainstance of Win32_DiskDrive%0a
{%0a%09Caption =
"PowerDevice by PowerPath";%0a%09DeviceID =
"\\\\.\\PHYSICALDRIVE8";%0a%09InterfaceType =
"SCSI";%0a%09Model =
"PowerDevice by PowerPath";%0a%09Name =
"\\\\.\\PHYSICALDRIVE8";%0a%09SCSIBus = 0;%0a%09SCSILogicalUnit = 2;%0a%09SCSIPort = 5;%0a%09SCSITargetId = 5;%0a%09Size =
"5362882560";%0a
};%0a %0ainstance of Win32_DiskDrive%0a
{%0a%09Caption =
"PowerDevice by PowerPath";%0a%09DeviceID =
"\\\\.\\PHYSICALDRIVE1";%0a%09InterfaceType =
"SCSI";%0a%09Model =
"PowerDevice by PowerPath";%0a%09Name =
"\\\\.\\PHYSICALDRIVE1";%0a%09SCSIBus = 0;%0a%09SCSILogicalUnit = 0;%0a%09SCSIPort = 5;%0a%09SCSITargetId = 0;%0a%09Size =
"5362882560";%0a
};%0a %0ainstance of Win32_DiskDrive%0a
{%0a%09Caption =
"PowerDevice by PowerPath";%0a%09DeviceID =
"\\\\.\\PHYSICALDRIVE10";%0a%09InterfaceType =
"SCSI";%0a%09Model =
"PowerDevice by PowerPath";%0a%09Name =
"\\\\.\\PHYSICALDRIVE10";%0a%09SCSIBus = 0;%0a%09SCSILogicalUnit = 1;%0a%09SCSIPort = 5;%0a%09SCSITargetId = 6;%0a%09Size =
"1069286400";%0a
};%0a %0ainstance of Win32_DiskDrive%0a
{%0a%09Caption =
"PowerDevice by PowerPath";%0a%09DeviceID =
"\\\\.\\PHYSICALDRIVE9";%0a%09InterfaceType =
"SCSI";%0a%09Model =
"PowerDevice by PowerPath";%0a%09Name =
"\\\\.\\PHYSICALDRIVE9";%0a%09SCSIBus = 0;%0a%09SCSILogicalUnit = 0;%0a%09SCSIPort = 5;%0a%09SCSITargetId = 6;%0a%09Size =
"15027586560";%0a
};%0a %0ainstance of Win32_DiskDrive%0a
{%0a%09Caption =
"PowerDevice by PowerPath";%0a%09DeviceID =
"\\\\.\\PHYSICALDRIVE2";%0a%09InterfaceType =
"SCSI";%0a%09Model =
"PowerDevice by PowerPath";%0a%09Name =
"\\\\.\\PHYSICALDRIVE2";%0a%09SCSIBus = 0;%0a%09SCSILogicalUnit = 0;%0a%09SCSIPort = 5;%0a%09SCSITargetId = 3;%0a%09Size =
"20587875840";%0a
};%0a select objects
"Antecedent,Dependent from Win32_LogicalDiskToPartition" of wmi %0ainstance of Win32_LogicalDiskToPartition%0a
{%0a%09Antecedent =
"\\\\BPGA030AFMGT\\root\\cimv2:Win32_DiskPartition.DeviceID=\"Disk #0, Partition #1\"";%0a%09Dependent =
"\\\\BPGA030AFMGT\\root\\cimv2:Win32_LogicalDisk.DeviceID=\"C:\"";%0a
};%0a %0ainstance of Win32_LogicalDiskToPartition%0a
{%0a%09Antecedent =
"\\\\BPGA030AFMGT\\root\\cimv2:Win32_DiskPartition.DeviceID=\"Disk #7, Partition #0\"";%0a%09Dependent =
"\\\\BPGA030AFMGT\\root\\cimv2:Win32_LogicalDisk.DeviceID=\"D:\"";%0a
};%0a %0ainstance of Win32_LogicalDiskToPartition%0a
{%0a%09Antecedent =
"\\\\BPGA030AFMGT\\root\\cimv2:Win32_DiskPartition.DeviceID=\"Disk #9, Partition #0\"";%0a%09Dependent =
"\\\\BPGA030AFMGT\\root\\cimv2:Win32_LogicalDisk.DeviceID=\"G:\"";%0a
};%0a %0ainstance of Win32_LogicalDiskToPartition%0a
{%0a%09Antecedent =
"\\\\BPGA030AFMGT\\root\\cimv2:Win32_DiskPartition.DeviceID=\"Disk #2, Partition #0\"";%0a%09Dependent =
"\\\\BPGA030AFMGT\\root\\cimv2:Win32_LogicalDisk.DeviceID=\"I:\"";%0a
};%0a %0ainstance of Win32_LogicalDiskToPartition%0a
{%0a%09Antecedent =
"\\\\BPGA030AFMGT\\root\\cimv2:Win32_DiskPartition.DeviceID=\"Disk #6, Partition #0\"";%0a%09Dependent =
"\\\\BPGA030AFMGT\\root\\cimv2:Win32_LogicalDisk.DeviceID=\"J:\"";%0a
};%0a %0ainstance of Win32_LogicalDiskToPartition%0a
{%0a%09Antecedent =
"\\\\BPGA030AFMGT\\root\\cimv2:Win32_DiskPartition.DeviceID=\"Disk #1, Partition #0\"";%0a%09Dependent =
"\\\\BPGA030AFMGT\\root\\cimv2:Win32_LogicalDisk.DeviceID=\"K:\"";%0a
};%0a %0ainstance of Win32_LogicalDiskToPartition%0a
{%0a%09Antecedent =
"\\\\BPGA030AFMGT\\root\\cimv2:Win32_DiskPartition.DeviceID=\"Disk #11, Partition #0\"";%0a%09Dependent =
"\\\\BPGA030AFMGT\\root\\cimv2:Win32_LogicalDisk.DeviceID=\"L:\"";%0a
};%0a %0ainstance of Win32_LogicalDiskToPartition%0a
{%0a%09Antecedent =
"\\\\BPGA030AFMGT\\root\\cimv2:Win32_DiskPartition.DeviceID=\"Disk #12, Partition #0\"";%0a%09Dependent =
"\\\\BPGA030AFMGT\\root\\cimv2:Win32_LogicalDisk.DeviceID=\"M:\"";%0a
};%0a %0ainstance of Win32_LogicalDiskToPartition%0a
{%0a%09Antecedent =
"\\\\BPGA030AFMGT\\root\\cimv2:Win32_DiskPartition.DeviceID=\"Disk #4, Partition #0\"";%0a%09Dependent =
"\\\\BPGA030AFMGT\\root\\cimv2:Win32_LogicalDisk.DeviceID=\"O:\"";%0a
};%0a %0ainstance of Win32_LogicalDiskToPartition%0a
{%0a%09Antecedent =
"\\\\BPGA030AFMGT\\root\\cimv2:Win32_DiskPartition.DeviceID=\"Disk #10, Partition #0\"";%0a%09Dependent =
"\\\\BPGA030AFMGT\\root\\cimv2:Win32_LogicalDisk.DeviceID=\"U:\"";%0a
};%0a %0ainstance of Win32_LogicalDiskToPartition%0a
{%0a%09Antecedent =
"\\\\BPGA030AFMGT\\root\\cimv2:Win32_DiskPartition.DeviceID=\"Disk #5, Partition #0\"";%0a%09Dependent =
"\\\\BPGA030AFMGT\\root\\cimv2:Win32_LogicalDisk.DeviceID=\"X:\"";%0a
};%0a
If I can free up some time I’ll try to work on it some more.
Thanks,
Jim