Dell PowerEdge 2450 Service Tag number extraction

Mark Whidby mark.whidby at manchester.ac.uk
Wed Jun 7 06:01:45 CDT 2006


Senthil_OR at dell.com wrote:
> Dmidecode utility  will have a listing of service tag of your machine.
> More helpful would be libsmbios:
> http://linux.dell.com/libsmbios/main/index.html 
> Which has binary that gets the service tag of your machine. 
> 

Hmmm... the original poster is wildly off target posting to this list as 
he's talking about *Windows* on Dell *desktop* systems and not Linux on 
a PE, despite the subject line which bears a remarkable resemblance to a 
previous query on this list...

He asked:
"I am trying to extract the service code of a Dell gx270 or a Dell d600
when it boots up and then put this into a variable in a script so I can
make sure the computer gets named in WIndows xp per its service tag."

It's possible to compile dmidecode under Cygwin and use it as a 
standalone program *so long as cygwin1.dll is available for it*. Cygwin 
per se does not need to be installed apart from the initial compilation. 
 From my Dell GX280:

D:\dmidecode>dmidecode.exe --string system-serial-number
43SX61J

There is still some jiggery pokery required to get the service tag into 
a variable for use in a script but this can be done.

I hope this helps!

-- 
Mark Whidby
Faculty of Engineering and Physical Sciences



More information about the Linux-PowerEdge mailing list