Type this into a command prompt on any Dell computer:

wmic bios get serialnumber

The Dell service tag will be displayed on the next line.

image

Thanks to Dan Wilkening for pointing this out to me!