Solved

WMI, model #, retrieving information

Posted on 2016-09-28
10
112 Views
Last Modified: 2016-09-29
good day.

unspecified devices
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.
0
Comment
Question by:freezingHot
  • 5
  • 5
10 Comments
 
LVL 40

Accepted Solution

by:
Subsun earned 500 total points
ID: 41821844
Easy way is to use WIN 32 Class Explorer to find the wmi class..
https://gallery.technet.microsoft.com/Powershell-GUI-Application-a884a710
0
 
LVL 1

Author Comment

by:freezingHot
ID: 41821913
thank you for sending - that is a nice tool and works well... unfortunately, i was not able to find the string needed.  it appears that the "model #" is actually the "bus reported device description" and i'm not able to find it anywhere using WMI...
0
 
LVL 40

Expert Comment

by:Subsun
ID: 41821933
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.
0
 
LVL 1

Author Comment

by:freezingHot
ID: 41821971
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.
0
 
LVL 40

Expert Comment

by:Subsun
ID: 41821990
Can you post a screen shot, which will explain in better way.. :-)
0
Optimizing Cloud Backup for Low Bandwidth

With cloud storage prices going down a growing number of SMBs start to use it for backup storage. Unfortunately, business data volume rarely fits the average Internet speed. This article provides an overview of main Internet speed challenges and reveals backup best practices.

 
LVL 1

Author Comment

by:freezingHot
ID: 41821999
busreporteddevicedescription.jpg
here is the screen shot of the Windows properties for bus reported device description.  i can't find this anywhere using WMI.

thanks.
0
 
LVL 40

Expert Comment

by:Subsun
ID: 41822054
Anything you find under Win32_USB* or Win32_SerialPort

Example..
Win32_USBController
Win32_USBHub
Win32_USBControllerDevice

Win32_SerialPort
0
 
LVL 1

Author Comment

by:freezingHot
ID: 41822059
tried those and i tried the Win32_PNPDevice and Wind32_PNPEntity.
0
 
LVL 40

Expert Comment

by:Subsun
ID: 41822104
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.
0
 
LVL 1

Author Comment

by:freezingHot
ID: 41822288
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.
1

Featured Post

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
Synchronize a new Active Directory domain with an existing Office 365 tenant
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …
In this fifth video of the Xpdf series, we discuss and demonstrate the PDFdetach utility, which is able to list and, more importantly, extract attachments that are embedded in PDF files. It does this via a command line interface, making it suitable …

948 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now