Information for the IT Community - Tweaks and Solutions for the Microsoft Windows Systems and Linux.

Showing posts with label wmi. Show all posts
Showing posts with label wmi. Show all posts

Sep 13, 2011

Obtaining the Machine Serial Number in command-line

There is a simple command-line command that can return the machine serial number (and other information of-course).
The command:

wmic bios get SerialNumber

Returns:
SerialNumber
TheSerialNumber