Today at work, I ran across the issue of trying to find my computers Service Tag, without undocking the computer and flipping it over, mainly because that would take to long waiting for the computer to get its network connection back, plus the excel sheet i was adding the Tag into was open on the laptop.
After a quick lookup on the internet, I found the solution to my problem!
wmic bios get serialnumber
Running this simple command, I can get the Service tag that is stored in the BIOS.
WMIC extends WMI for operation from several command-line interfaces and through batch scripts. Before WMIC, you used WMI-based applications (such as SMS), the WMI Scripting API, or tools such as CIM Studio to manage WMI-enabled computers. Without a firm grasp on a programming language such as C++ or a scripting language such as VBScript and a basic understanding of the WMI namespace, do-it-yourself systems management with WMI was difficult. WMIC changes this situation by giving you a powerful, user-friendly interface to the WMI namespace.
WMI has been around since about the beginning of windows, and WMIC has been around since Server 2000 and Windows XP