You may use the command below, from Microsoft Windows Powershell or command prompt, to retrieve the service tag of a Dell device.

wmic bios get serialnumber