Get-WmiObject win32_SystemEnclosure | select serialnumberThis 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. . .
Loading
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.
Labels:
Dell,
Linux,
PowerShell,
Windows
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment