Dell Box Service Tag by Command Line
Pretty cool, especially if you don’t have physical access to a Dell machine (obviously you can run these commands on your own machine).
1. In Windows, RDP into a machine run the following at a command prompt: wmic bios get serialnumber
2. To get the make, model and service tag: wmic csproduct get vendor,name,identifyingnumber
3. To get the info remotely: wmic /user:vg\<adminUser> /node:<hostname> bios get serialnumber
4. In Linux, login via SSH and run: [remote-host]# dmidecode -s system-serial-number