CMD command to check connected USB devices

走远了吗. 提交于 2020-01-12 22:22:21

问题


its my first question on stackoverflow so I'm sorry if I don't do that properly. Coming to my question, 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.



来源:https://stackoverflow.com/questions/44433346/cmd-command-to-check-connected-usb-devices

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!