question

NathanLi-1387 avatar image
0 Votes"
NathanLi-1387 asked SongZhu-MSFT answered

How to get the speed of a USB device using the command line

Hi,

I used the command wmic path CIM_USBDevice get PNPDeviceID,USBVersion/format:list to get the speed of USB device,but the "USBVersion" is empty, Why?

Is there any other way to get the speed of the USB device through the command line?(Devcon.exe cannot be used due to system limitations)

99815-360%E6%88%AA%E5%9B%BE20210526170245650.jpg






windows-api
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

SongZhu-MSFT avatar image
0 Votes"
SongZhu-MSFT answered

In fact, this field has not been filled in. I think the firmware itself did not set the value of this field. The same problem in this thread.

And, there are similar methods to query USB information, you can refer to: Getting USB port name and details

More reference: Displaying USB Devices using WMI



If the answer is helpful, please click "Accept Answer" and upvote it.

Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.




5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.