I found some code at USB Mass Storage Monitor topic and am needing some assistance. Here is my modified version of ChrisL's code: Func _DrivesFromBusType( $Bus = "" )
Local $aDletters = "", $strComputer = "."
Local $objWMIService = ObjGet("winmgmts:\\" & $strComputer & "\root\cimv2")
Local $colDiskDrives = $objWMIService.ExecQuery("SELECT * FROM Win32_DiskDrive")
For $objDrive In $colDiskDrives
If $Bus <> "" and $objDrive.InterfaceType <> $Bus then Continueloop
Co