wmic bios get serialnumber
An alternative is 'sudo /usr/sbin/dmidecode -s system-serial-number' as lshw may not be available on older systems. Plus, using dmidecode you can get just the serial number.
Really impressive post. I read it whole and going to share it with my social circules. I enjoyed your article and planning to rewrite it on my own blog.Packers And Movers in Chennai