tim freese
asked on
WMI, model #, retrieving information
good day.
i've attached a picture of my devices/printers window. specifically, the unspecified devices. they are working fine; however, i need to retrieve the "model #" using WMI. i have used pnpentity, usbcontrollerdevice and other namespaces but i can't come up with the correct one.
i am trying to find "virtual updd hid device" for the first one and "ft232r usb uart" for the second one.
any help would be appreciated.
thanks.
i've attached a picture of my devices/printers window. specifically, the unspecified devices. they are working fine; however, i need to retrieve the "model #" using WMI. i have used pnpentity, usbcontrollerdevice and other namespaces but i can't come up with the correct one.
i am trying to find "virtual updd hid device" for the first one and "ft232r usb uart" for the second one.
any help would be appreciated.
thanks.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
In the tool, did you find your device under any of the class? If you click on the device then it will list all the properties and values available with it.
ASKER
yes, i did find it; however, the property for the "bus reported device description" is not listed. the value within the devices/printers that i listed can't be found anywhere.
if i click on the device and get to the "details" section, i can select the "bus reported device description" within the properties.
if i click on the device and get to the "details" section, i can select the "bus reported device description" within the properties.
Can you post a screen shot, which will explain in better way.. :-)
ASKER
Anything you find under Win32_USB* or Win32_SerialPort
Example..
Win32_USBController
Win32_USBHub
Win32_USBControllerDevice
Win32_SerialPort
Example..
Win32_USBController
Win32_USBHub
Win32_USBControllerDevice
Win32_SerialPort
ASKER
tried those and i tried the Win32_PNPDevice and Wind32_PNPEntity.
If you cant find it under Wind32_PNPEntity, then it probably doesn't have a device class under windows, that's the reason it's shown as unspecified, I think there is no point in looking in WMI. If you are using Windows 10 or 2012, try using Get-Device command from PowerShell and see if it list the details.
ASKER
I was finally able to locate it...
using c#, i find objects in Win32_PnPEntity. then, i enumerate through the getDeviceProperties and finally found the "bus reported device description." not sure why this property wasn't listed in the wbem tool or the powershell script.
i appreciate your help and time - I will flag your answer as the best solution.
using c#, i find objects in Win32_PnPEntity. then, i enumerate through the getDeviceProperties and finally found the "bus reported device description." not sure why this property wasn't listed in the wbem tool or the powershell script.
i appreciate your help and time - I will flag your answer as the best solution.
ASKER