I have attached a picture as to which device i'm trying to get in showing it's serial number,Īny input is greatly appreciated, as i've exhausted in researching articles online. The simplest way to list the printers installed on a computer is to use the WMI Win32Printer class: Get-CimInstance -Class Win32Printer You can also list the printers by using the WScript.Network COM object that is typically used in WSH scripts: (New-Object -ComObject WScript.Network).
#Wmi printer serial number how to#
If anybody can shed light in how to link these two string values in a powershell query, then this would be much appreciated. The USB Printing Support is the (parent) property, and the 'Star TSP100 Cutter' is the child. I wish to combine the following two properties into a PowerShell Query. You need to know the serial number when working with support, servicing the product. Right, i've done some further investigating. Every HP product has a unique identifying number called a serial number. However i'm having difficulty to get the serial number being included and displayed alongside this query. Search for jobs related to Wmi snmp printer serial number or hire on the worlds largest freelancing marketplace with 20m+ jobs. Gwmi Win32_USBControllerDevice |% | Sort Manufacturer,Description,D eviceID | Ft -GroupBy Manufacturer Description,Service,Device ID I have used a freeware program, developed by 'Nirsoft', named 'USBDeview'. Does anybody know how can i get it - Excepting (assembler or extreme c++) don't mind the language - WMI or Registry are two blank shots.
I require assistance on a 'powershell' query to obtain the serial number of a USB attached device. I'm a programmer adn i need to retrieve the serial number from an hp usb serial printer.