Windows: February 2007 Archives

Since writing the Dell Service Tag post I have been looking for other methods to get a dmidecode type information from Windows without sacrificing goats to the altar of Microsoft :) One alternative I've come up with is SIW. It's nice and simple, doesn't require installation and also shows more than what you would get using dmidecode in Linux. It also does a listing of PCI devices and lots of other nice stuff such setting the Mac address on network cards. It will also show the Dell Service Tag under Hardware/System Info. It shows up a Serial Number. Update: The author of the software has pointed out to me that it doesn't actually decode DMI. It does do what I have used dmidecode for, so it's still good for the job as far as I'm concerned.

Dell Service Tags

| | Comments (2) | TrackBacks (1)
In order to put something useful on here, and in order to save me having to Google this again, the following is how to get the Dell service tags on Linux and Windows: Linux:
dmidecode | grep Serial\ Number | head -n1
Windows: Open Notepad or your text editor of choice and put the following in:
strComputer = "."
Set objWMIService = GetObject("winmgmts:" _
& "{impersonationLevel=impersonate}!\\" & strComputer & "\root\cimv2")
Set colSMBIOS = objWMIService.ExecQuery _
("Select * from Win32_SystemEnclosure")
For Each objSMBIOS in colSMBIOS
Wscript.Echo "Serial Number: " & objSMBIOS.SerialNumber
Next
Save as get-tag.vbs and double-click to run. This will only work on Windows Server as it requires WMI.

About this Archive

This page is a archive of entries in the Windows category from February 2007.

Windows: March 2007 is the next archive.

Find recent content on the main index or look in the archives to find all content.

Windows: February 2007: Monthly Archives

Powered by Movable Type 4.01