CMD command to check connected USB devices

2020-07-03 09:15发布

问题:

I would like to obtain by a command prompt a list of all USB devices connected to my computer (O.S. Windows 10). I've googled to find such a command, but all results seems useless to me or worse workless. Does anybody know how can I do that?

Thank you

回答1:

you can download USBview and get all the information you need. Along with the list of devices it will also show you the configuration of each device.



回答2:

You can use the wmic command:

wmic path CIM_LogicalDevice where "Description like 'USB%'" get /value


回答3:

You could use wmic command:

wmic logicaldisk where drivetype=2 get <DeviceID, VolumeName, Description, ...>

Drivetype 2 indicates that its a removable disk.