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
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.
You can use the wmic command:
wmic path CIM_LogicalDevice where "Description like 'USB%'" get /value
You could use wmic command:
wmic logicaldisk where drivetype=2 get <DeviceID, VolumeName, Description, ...>
Drivetype 2 indicates that its a removable disk.