Retrieve VolumeGUIDs via Win32_PnPEntity using VBA
问题 Is there a way to list the VolumeGUID's from a USB Drive based on the DeviceID from Win32_PnPEntity I am able to retrieve all the VolumeGUID's from Win32_Volume. But I do not know which ones are associated with the USB Drive other than the Drive Letter. I use the following to get USB Names and DeviceID's Sub USBInfo() Dim strComputer As String Dim strDeviceName As String Dim objWMIService As Object Dim colControllers As Object Dim objController As Object Dim colUSBDevices As Object Dim