How to get a server serial number from the command line/prompt

To get the serial number of a server/computer from the command line, run the following command:

wmic bios get serialnumber

Leave a comment