This week's submission is a utility to query the OS about connected USB devices, and display the information in a listbox. For each of the 3 supported platforms Windows, Mac and Linux, a different shell script is required. For MacOS, the system_profiler command is used. For Linux, the lsusb command is used. And for Windows, the wmic command is used. Not surprisingly the returned results are in radically different formats which require different parsing code for each platform.
In retrospect, I'm not sure if this was such a good idea, because none of the hardware that I have access to has the latest OS versions. My Mac is still running 10.10 (Yosemite). I'm running Windows 7 on my PC, and in order to test the Linux version, I had to install lsusb on my Mac and test it on the Mac. So, if it doesn't work as expected on newer OS versions, some code tweaking may be required.
The project file is here: USB_List_Utility
Additional information is in the project file in app.RevisionNotes.