I work with a large number of servers and sometimes I need to get details from the servers when calling Dell technical support. I found a great way to retrieve the service tags from Dell machines remotely. Read below for more info
Get DELL Service Tag on remote Windows system
Login to the Windows remote-host using VNC or remote desktop connection. Use WMIC on Windows to get service tag as shown below.
C:\>wmic bios get serialnumber
SerialNumber
ABCDEF1
Following WMIC command will give make and model number along with service tag.
C:\>wmic csproduct get vendor,name,identifyingnumber
IdentifyingNumber Name Vendor
ABCDEF1 PowerEdge 2950 Dell Inc.
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.
C:\>wmic /user:administrator /node:remote-host bios get serialnumber
SerialNumber
ABCDEF1
[Note: Replace remote-host with the machine name of your remote-host.]
2. Get DELL Service Tag on remote Linux system
Login to the Linux remote-host using SSH. Use dmidecode on Linux to get service tag as shown below.
[remote-host]# dmidecode -s system-serial-number
ABCDEF1
via View DELL Service Tag and Express Service Code From Linux and Windows.