Find a machine serial number from command line

Here is one liner for today – How to find out serial number of the computer from command line. Well, good news, there are many tools and utilities you can use. Once of the is WMIC – Windows Management Instrumentation Command that comes with Windows machines.

Here is the command:

wmic bios get serialnumber

For more on WMIC and other use you can check this WMIC.