• 1. London, UK
  • 2. Sydney, Australia
  • 3. New York, NY
  • 4. Melbourne, Australia
  • 5. Bellevue, WA
  • 6. Paris, France
  • 7. Moscow, Russia
  • 8. Chicago, IL
  • 9. San Francisco, CA
  • 10. Amsterdam, Netherlands

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:

1 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...

 

Post a Comment

Links to this post:

Create a Link

<< Home