Dell & HP – Service Tags / Serial Numbers / Models via Command Prompt (CMD) or PowerShell

Service Tag, Serial Number, and Model of Your Windows Computer via CMD & PowerShell

Need to know the service tag / product number of your Dell or HP? These are handy to check warranty statuses on manufacturer websites.

Since the Covid-19 pandemic, we’ve seen higher degrees of remote support implemented out of necessity. In many cases it didn’t confer any additional troubleshooting and/or sleuthing skills onto technicians or end-users. If your machine is Dell or HP, knowing system information can be a mere step away. What follows in the steps below is how to obtain the service tag / product number of a Dell or HP computer.

Though often adhered to the hardware in the form of a sticker, they’re not always easy to find even if they haven’t been marred or removed. The same information that would be on a typical sticker also (generally) resides in the system BIOS. It’s a risk directing unsavvy users into the labyrinth of choices sprouting from the many BIOS menu options and true remote KVM services aren’t always at the technicians fingertips, especially when it comes to laptops. An errant “click and save” can render a machine inoperable. Here’s what to do to retrieve the Dell or HP service tag / product number.

Instructions steps for Command Prompt and PowerShell product information retrieval follow.

To get started the Command Prompt, open up a CMD window, and enter the following:

C:>wmic bios get serialnumber

(If you’re getting any errors, start over using a elevated command prompt)

The command will yield the “service tag” for a Dell computer or the “serial number” for a HP machine.

If it’s a Dell, you’re done. If it’s HP, you actually need your model# as well for support.

Here’s the command to get both the serial number and model for your HP:

C:>wmic csproduct get name, identifyingnumber

Prefer PowerShell? Launch a window and get the service tag / serial number:

PS C:> Get-WmiObject -Class Win32_BIOS

Now we still need the machine’s model designation.

PS C:> msinfo32

Retrieving this support information should have been painless, even for beginners. Now save a copy in your notes or password manager for faster support next time.

Know a better way to retrieve this kind of data? Send me a note. Thanks!