Monday, October 19, 2009

Getting Dell Service Tag using PowerShell

Powershell's get-wmiobject commandlet makes getting the Dell service tag or serial number for (some) other computer models easy.
Get-WmiObject win32_SystemEnclosure | select serialnumber
This worked for me successfully with Dell and SuperMicro, however it didn't work on and HP computer I have. Haven't tried it on IBM or others yet. . .

No comments:

Post a Comment