The following script will remotely connect to a computer on your network, query the registy for the monitor details and output what it finds.
Retrieving the Serial Number from a Local Computer The get-ciminstance PowerShell command was introduced in PowerShell 3.0. It allows administrators to run WMI queries on local or remote computers.
- The Windows Management Instrumentation Command-line (WMIC) is a command-line and scripting interface that simplifies the use of Windows Management Instrumentation (WMI) and systems managed through WMI. Get Memory Device DIMM Numbers. Get Serial Numbers of Hard Drives > wmic path win32_physicalmedia get SerialNumber SerialNumber 9RXFA3FG.
- Get Serial Numbers of Hard Drives > wmic path win32_physicalmedia get SerialNumber SerialNumber 9RXFA3FG Z2AP14Z2 This entry was posted in Windows and tagged WMIC.
It can be used to remotely get the monitor make, model and serial number from any computer on your network.
There are two versions of the script available, one for a single computer or one for a list of computers.
Get monitor serial number for a single computer
Output:
Download: Get Monitor Info – remotely.vbs
When you run the script it will prompt for the remote computer name:
After entering the remote computer name it will return the information on the attached monitors.
This computer has two monitors, so the information is separated by [Monitor_1] and [Monitor_2]
Get monitor serial number for a list of computers
Note – you require Microsoft Excel installed on the computer are you running this script.
Download: VBS – Get Monitor Serial Number Remotely – Machine List.zip
Serial Number Lookup
- After downloading and extracting the ZIP file you will find two files,
- MachineList.txt – which holds the list of computers to get the serial numbers from, each computer name needs to be on a new line
- Get_Monitor Info – remotely (MachineList).vbs – the script to run
- Update MachineList with the list of computers
- Run ‘Get_Monitor Info – remotely (MachineList).vbs’
- Microsoft Excel will load and begin to add the header row then the details of each computer
- If a computer is online (available on the network) its details will be recorded then it is removed from MachineList.txt
- If a computer is offline it is marked as ‘Offline’ in the excel document and it remains in MachineList, so you can run the script later when the computer is online.
I wonder what sort of serialnumber wmic bios get serialnumber
Windows commad actually gives you?
Is it serial number of your motherboard? Documentation is not clear about it.
3 Answers
the wmic bios get serialnumber
command call the Win32_BIOS
wmi class and get the value of the SerialNumber
property, which retrieves the serial number of the BIOS Chip of your system.
run cmd
![Get Get](https://h41201.www4.hp.com/WMCF.Web/Images/HP/HPRC/Serial/compaq_presario_monitor.jpg)
Enter wmic baseboard get product,version,serialnumber,product
Get Wmi Serial Number
Press the enter key. The result you see under serialnumber column is your Motherboard serialnumber
if run from a command line (start-run should also do the trick) prints out on screen the Serial Number of the product,
(for example in a toshiba laptop it would print out the serial number of the laptop.
with this serial number you can then identify your laptop model if you need ,from the makers service website-usually..:):)
I had to do exactly that.:):)