Im trying to create a program or a script to remotely retrieve all the hardwares (computers, printers etc) serialnumbers and I was just wondering if WMI is necessary.
This script will find various information about a remote PC using WMI and. Powershell Remote PC Info Script. Info, Serial Number, Service List. Retrieve serialnumber remotely. Ask Question. This is useful information if you were checking the serial number on 100+ machines from a remote location, saves lots of typing:). Getting BIOS Serial Number without WMI. WMI Access Denied while Win32_Service query. WMIC for printer serial number. By Walkers on Jun 11, 2014 at 22:37 UTC. Spiceworks General Support. Next: email filtering. Get answers from your peers along with millions of IT pros who visit Spiceworks. Is there a way to find a printer's serial number by using WMIC? Popular Topics in Spiceworks General Support. I would like to edit the following script file to include the printer serial number. Is it possible? ' PrinterWMI.vbs ' Sample WMI Printer VBScript to. Because printers, even local printers, don't report details like their serial numbers to Windows, there is no way by default to get this information using ConfigMgr -- none of the printer classes I reviewed had a any type of serial number attribute. Powershell Script to Get Computer Information Using 'wmic' Command (Serial Number, Manufacturer, Model, Network Printers). # Get the serial number and. Get HP Product Number via Powershell. How can I get HP product number (not the serial number) via PowerShell? In win32_computersystem WMI. Tested on my HP.
I do know about the basic
but this also creates some problems with access as you need administrator rights on both computers if I have understood it correctly and also that the remote computer is configured to allow incoming WMI request.
Is it necessary to use WMI for this or are there any other ways to go about this? I know that WMI knows anything you might want to know about a computer but Im interested in the serialnumber only for now, and only on windows enviroments aswell I might add.
So if there are any Im looking for tips on any other way around this besides using WMI as it causes alot of other challenges and the goal is to keep it as simple as possible for the user.
Add the user switch to prompt an administrative login,
wmic /USER: Administrator /NODE: 'Computername' bios get serialnumber
Also Remote Administration must be allowed on the target node firewall or it will fail, administrator or not