There are those times you need the service tag from a system such as a noteboot, server, or pc and just can’t get to it. Or… taking the “I’m not getting up for this method”.
Using the Windows Management Instrumentation Command-line (WMIC) you can pull this information right from the command prompt. Simply type the following:
wmic bios get serialnumber
You can also do something similar in Linux.. In my case I use Ubuntu and type:
dmidecode -s system-serial-number
Please note that in both systems you may need to elevate your rights to issues these commands.