Is it possible to get Dell service tag from command-line (CLI) on both Linux (RHEL server) and Windows server? I need both Dell Service Tag and Serial Number.
Yes, you can get Dell server, desktop or laptop service tag including serial number from the command-line (CLI).
Finding Dell service tag on Linux
Run the following as root user:
for d in system-manufacturer system-product-name system-serial-number bios-release-date bios-version
do
echo "${d^} : " $(sudo dmidecode -s $d)
done
See my page for more info:
Locating your Dell system service tag using Windows command prompt
- Type
cmd
in the Windows search bar at the bottom-left of the screen - Select
Command Prompt
from the list of results. - In the
Command Prompt
window, type:
wmic bios get serialnumber
- Make sure your press they
Enter
key. The Dell Service Tag (Serial Number) displays on screen. Try the following commands on Windows too:
wmic csproduct get vendor,name,identifyingnumber
wmic /user:administrator /node:remote-server-host-ip bios get serialnumber
2 Likes