Today I had to record a serial number for an Ultrabook that had no serial number on the case anywhere. Turns out it was under the battery, but I found a better way:

wmic bios get serialnumber

Just thought I’d record that here for my future self.