Sometimes, you will want to find the computer serial number on your computer to do that in an easy way you can do it typing the following code in your command console.
wmic bios get serialnumber
You will see something like this:Ouput: