Saturday, June 16, 2012

Get BIOS tag from the command line

Quick one liner to get Windows BIOS serial number.

wmic bios get serialnumber | clip

This only works for Windows operating system. Clip only works with Vista or later versions. Note that the output contains the string "SerialNumber" and the value. I wish I new just to return the value.

No comments: