Find Dell Service Tag with command line locally or remotely

If you’re like me you’re rarely sitting in front of your customer’s hardware. These simple steps will allow you to find the Service Tag for your Dell hardware without looking on the device.

 
1. Open command prompt
Go to Start > Run and type cmd to start your command prompt. Administrative rights are not required to run this command. Choose either method 2 or method 3 depending on your circumstances.

 

 
2. Obtain Service Tag locally with command line
In the command prompt type the following and press Enter/Return.

wmic csproduct get vendor,name,identifyingnumber

 

3. Obtain Service Tag remotely with command line
If VNC or remote desktop connection to the remote-host is not available, execute the following from the local-host to get the service tag of the remote-host.

wmic /user:administrator /node:remote-host bios get serialnumber

You will be prompted for the password for account administrator.

 

NOTE :: type the command exactly like it appears above only replacing the remote-host part with the workstations name or IP address you’re querying. If you want to use a user account other than administrator, replace ‘administrator’ with the account you wish to use.

CLI example: