Categories
Dell Linux PowerShell Windows

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

Leave a Reply

Your email address will not be published. Required fields are marked *