I just recalled that I used the graphical tool NirSoft USBDeview. Looking at the vendor's website, I find it can also be run as a command line tool.
Command line options:
/stext <Filename> Save the list of all USB devices into a regular text file.
/stab <Filename> Save the list of all USB devices into a tab-delimited text file.
/scomma <Filename> Save the list of all USB devices into a comma-delimited text file.
/stabular <Filename> Save the list of all USB devices into a tabular text file.
/shtml <Filename> Save the list of all USB devices into HTML file (Horizontal).
/sverhtml <Filename> Save the list of all USB devices into HTML file (Vertical).
/sxml <Filename> Save the list of all USB devices to XML file.
License:
This utility is released as freeware. You are allowed to freely distribute this utility via floppy disk, CD-ROM, Internet, or in any other way, as long as you don't charge anything for this. If you distribute this utility, you must include all files in the distribution package, without any modification !
System requirements:
This utility works on Windows 2000, Windows XP, Windows 2003, Windows Vista, Windows Server 2008, Windows 7, Windows 8, and Windows 10. Both 32-bit and 64-bit systems are supported. Windows 98/ME is not supported.