CMD command to check connected USB devices

Luca picture Luca · Jun 8, 2017 · Viewed 96.9k times · Source

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

Answer

Ronny D'Hoore picture Ronny D'Hoore · Oct 6, 2017

You can use the wmic command:

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