I am looking to enumerate the connected USB devices with their corresponding logical drive letters into an array. I am using WMI to achieve this. At first I struggled to get both to show but then stumbled across the attached code. This code does an excellent job of what I need but with the slight difference in that I need to remove and readd the usb drive to detect it as an event.
My issue is I would like to scan and pick up the connected USB drives logical drive letters without having to