• 1. London, UK
  • 2. New York, NY
  • 3. Sydney, Australia
  • 4. Melbourne, Australia
  • 5. Moscow, Russia
  • 6. Singapore
  • 7. Paris, France
  • 8. Chicago, IL
  • 9. Hong Kong
  • 10. Houston, TX

Thursday, February 01, 2007

 

Getting Dell Service Tag using PowerShell

Posted by Bharat Suneja at 4:03 PM
A popular script on this blog uses the Win32_SystemEnclosure WMI class to get the Dell Service Tag from Dell computers [read previous post "Getting Dell Service Tag using WMI"].

Powershell's get-wmiobject commandlet makes it a one-liner:

Get-WmiObject win32_SystemEnclosure | select serialnumber

Labels:

3 Comments:

February 12, 2007 1:39 PM
Blogger Ronald said...

Seems like the following works too:

Get-WMIObject -Class Win32_Bios

Added advantage is it works on my IBM Blades too whereas the other does not...

 
November 24, 2008 9:07 AM
Anonymous Anonymous said...

gwmi win32_bios

works too

 
October 21, 2009 2:30 AM
Anonymous cheap computers said...

Dell has been remarkably open to date in allowing users to publicly vent their spleen on its blog.

 

Post a Comment

Links to this post:

Create a Link

<< Home