I had to rebuild my laptop recently and realized that I needed to download the drivers from Dell’s website. I started looking for the service tag at the bottom of the laptop but that was no use.. The label had fallen off. One way of getting that could have been a reboot of the laptop followed by an inspection of the BIOS setup information but I wanted to have something that would act as equivalent to dmidecode in Linux. Dmidecode is a simple command that provides a human readable view of the DMI data.
So, for Linux the command would be like;
# dmidecode -s system-serial-number
In case you are using Windows, just fire up a command prompt and run the following…
C:\> wmic bios get serialnumber
I hope this helps save your time…