How to find a machine serial number from command prompt using WMI
Ever wonder how can you find laptop serial number using command prompt???
Here is a quick command that you can use to find the Serial Number of your machine.
To find the serial number, open command prompt (cmd) and type the following command.
c:>wmic bios get serialnumber
This will give you your machine’s serial number by pulling the information from BIOS. This is how it will look like.
If you are interested in scripting the same visit http://support.microsoft.com/kb/558124
WMIC (Windows Management Instrumentation Command-Line) http://msdn.microsoft.com/en-us/library/aa394531(VS.85).aspx
Hope you enjoy !!!
Update: Corrected syntax in the command