Does the following Powershell cmdlet list connected USB devices/drives ?
Get-PNPDevice -Class "USB"
Results from my computer:
PS C:\WINDOWS\system32> Get-PNPDevice -Class "USB"
Status Class FriendlyName InstanceId
------ ----- ------------ ----------
OK USB Logitech USB Camera (Pro 9000) USB\VID_046D...
OK USB Intel(R) USB 3.1 eXtensible Host Controller - 1.10 (Microsoft) PCI\VEN_8086...
OK USB USB Root Hub (USB 3.0) USB\ROOT_HUB...
OK USB Realtek USB 2.0 Card Reader USB\VID_0BDA...
Unknown USB USB Mass Storage Device USB\VID_174C...
OK USB USB Composite Device USB\VID_046D...
PS C:\WINDOWS\system32>
And you can alter the format further by using:
PS C:\WINDOWS\system32> Get-PnpDevice -Class USB | Format-List Name,DeviceID,Driver
Name : Logitech USB Camera (Pro 9000)
DeviceID : USB\VID_046D&PID_0990\7CEA4228
Name : Intel(R) USB 3.1 eXtensible Host Controller - 1.10 (Microsoft)
DeviceID : PCI\VEN_8086&DEV_A36D&SUBSYS_08681028&REV_10\3&11583659&0&A0
Name : USB Root Hub (USB 3.0)
DeviceID : USB\ROOT_HUB30\4&3798F3CA&0&0
Name : Realtek USB 2.0 Card Reader
DeviceID : USB\VID_0BDA&PID_0129\20100201396000000
Name : USB Mass Storage Device
DeviceID : USB\VID_174C&PID_55AA\1234567891DF
Name : USB Composite Device
DeviceID : USB\VID_046D&PID_C52B\5&16E922E4&0&9
Objective being to use Powershell as another way to see things from a "Windows" viewpoint.
Note: You can easily copy and paste Powershell cmdlets into Powershell.
Not sure what this is doing, but here are the results:
PS C:\Users\Fernando> Get-PnpDevice -Class USB | Format-List Name,DeviceID,Driver
Name : USB Mass Storage Device
DeviceID : USB\VID_1058&PID_0820\575842314538343355544157
Name : Intel(R) USB 3.0 eXtensible Host Controller - 1.0 (Microsoft)
DeviceID : PCI\VEN_8086&DEV_1E31&SUBSYS_3397103C&REV_04\3&11583659&0&A0
Name : USB Composite Device
DeviceID : USB\VID_046D&PID_C534\5&5E31287&0&1
Name : USB Composite Device
DeviceID : USB\VID_046D&PID_C534\5&5E31287&0&3
Name : USB Root Hub
DeviceID : USB\ROOT_HUB20\4&FF39A27&0
Name : USB Composite Device
DeviceID : USB\VID_046D&PID_C534\6&3A34E632&0&1
Name : USB Composite Device
DeviceID : USB\VID_046D&PID_C534\6&3A34E632&0&2
Name : USB Composite Device
DeviceID : USB\VID_046D&PID_C534\6&3A34E632&0&3
Name : USB Composite Device
DeviceID : USB\VID_046D&PID_C534\6&3A34E632&0&4
Name : USB Composite Device
DeviceID : USB\VID_046D&PID_C534\6&3A34E632&0&6
Name : Generic USB Hub
DeviceID : USB\VID_0A12&PID_4010\6&3A34E632&0&3
Name : Generic USB Hub
DeviceID : USB\VID_0A12&PID_4010\6&3A34E632&0&4
Name : USB Mass Storage Device
DeviceID : USB\VID_0781&PID_5406\087703163E429EDE
Name : USB Composite Device
DeviceID : USB\VID_0B0E&PID_24C7\50C27543FE60
Name : USB Composite Device
DeviceID : USB\VID_04B8&PID_1135\583539443138383074
Name : USB Mass Storage Device
DeviceID : USB\VID_2237&PID_4235\N5063AC445285
Name : USB Printing Support
DeviceID : USB\VID_04B8&PID_1135&MI_01\7&E875931&3&0001
Name : USB Composite Device
DeviceID : USB\VID_0B0E&PID_245E\70BF92887CD2015700
Name : Generic USB Hub
DeviceID : USB\VID_8087&PID_0024\5&304BFEFD&0&1
Name : Intel(R) 7 Series/C216 Chipset Family USB Enhanced Host Controller - 1E2D
DeviceID : PCI\VEN_8086&DEV_1E2D&SUBSYS_3397103C&REV_04\3&11583659&0&D0
Name : Generic USB Hub
DeviceID : USB\VID_8087&PID_0024\5&C7AD17E&0&1
Name : USB Mass Storage Device
DeviceID : USB\VID_1D6B&PID_0106\6&3A34E632&0&2
Name : USB Mass Storage Device
DeviceID : USB\VID_1D6B&PID_0106\6&3A34E632&0&4
Name : USB Composite Device
DeviceID : USB\VID_046D&PID_0821\6B03C9A0
Name : USB Composite Device
DeviceID : USB\VID_0B0E&PID_245E\6&332E6DD3&0&1
Name : Intel(R) 7 Series/C216 Chipset Family USB Enhanced Host Controller - 1E26
DeviceID : PCI\VEN_8086&DEV_1E26&SUBSYS_3397103C&REV_04\3&11583659&0&E8
Name : USB Root Hub
DeviceID : USB\ROOT_HUB20\4&382F8A7E&0
Name : USB Composite Device
DeviceID : USB\VID_046D&PID_C534\6&332E6DD3&0&1
Name : USB Composite Device
DeviceID : USB\VID_046D&PID_C534\6&332E6DD3&0&3
Name : USB Mass Storage Device
DeviceID : USB\VID_8644&PID_800B\0000000000000612
Name : USB Root Hub (USB 3.0)
DeviceID : USB\ROOT_HUB30\4&323AE9E0&1&0