Dell PowerEdge 2450 Service Tag number extraction

Michael_E_Brown at Dell.com Michael_E_Brown at Dell.com
Wed Jun 7 13:30:00 CDT 2006


Libsmbios also works on windows. I do not have posted pre-compiled
versions, though. You can download the sources and pop them into your
favorite compiler.
--
Michael 

> -----Original Message-----
> From: linux-poweredge-bounces at dell.com 
> [mailto:linux-poweredge-bounces at dell.com] On Behalf Of Mark Whidby
> Sent: Wednesday, June 07, 2006 6:02 AM
> To: linux-poweredge-Lists
> Cc: KKINDT at lewisrice.com; OR, Senthil
> Subject: Re: Dell PowerEdge 2450 Service Tag number extraction
> 
> 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
> 
> _______________________________________________
> Linux-PowerEdge mailing list
> Linux-PowerEdge at dell.com
> http://lists.us.dell.com/mailman/listinfo/linux-poweredge
> Please read the FAQ at http://lists.us.dell.com/faq
> 



More information about the Linux-PowerEdge mailing list