- Laptop Model Number Check
- How To Get Serial Number From Hp Laptop Computer
- How To Find Serial Number Of Hp Laptop Using Command Prompt
I have put together a robust HP Warrant Lookup PowerShell script. However, I cannot figure out how to get a HP system's product number in an automated process. So..
![How To Get Serial Number From Hp Laptop How To Get Serial Number From Hp Laptop](https://www.wikihow.com/images/thumb/2/2b/Find-the-Model-Number-of-an-HP-Laptop-Step-1-Version-3.jpg/aid5181655-v4-728px-Find-the-Model-Number-of-an-HP-Laptop-Step-1-Version-3.jpg)
How can I get HP product number (not the serial number) via PowerShell? Although I would like to do with only built-in out-of-the-box Windows and PowerShell commands, I am open to other ideas. In the end, the ultimate goal is retrieve the product number in the most reliable and least invasive way possible (i.e. installing 3rd software).
Troubleshooting
![How To Get Serial Number From Hp Laptop How To Get Serial Number From Hp Laptop](https://cloud.addictivetips.com/wp-content/uploads/2018/03/laptop-serial-number-sticker.jpg)
Tried:
HP PCs, Printers - Finding the Serial Number. This document is for all HP products. Every HP product has a unique identifying number called a serial number. You need to know the serial number when you speak with support, service the product, or determine if the product is still under warranty. If you have a laptop with a removable battery.
Get-WmiObject Win32_ComputerSystem | Select-Object OEMStringArray
- Jul 28, 2012 - As it turns out, many times you'll be no where near your computers but have remote access (hopefully). So how can you get either the HP Serial.
- This wikiHow teaches you how to find the model number of your HP laptop. This is to ensure that you don't get shocked when you remove your laptop's battery. While your laptop's model number doesn't correlate to the serial number,.
Result:
{ABS 70/71 79 7A 7B 7C, CMS v01.4A, HP_Mute_LED_0, www.hp.com}
.. But expecting to find
XT908UT#ABA
SgtOJSgtOJ
5 Answers
Here are some methods that work for various computer models.
Method 1 : Registry
The HP product number is in the registry so can be retrieved in PowerShell
HKEY_LOCAL_MACHINEHARDWAREDESCRIPTIONSystemBIOS
item SystemSKU
.More information and script can be found in the article :
How to: Find the HP Product Number of all your HP server using powershell.
How to: Find the HP Product Number of all your HP server using powershell.
Method 2 : rootwmi – MS_SystemInformation
Laptop Model Number Check
Class MS_SystemInformation contains the product number in its member
(Presumably it gets it from the registry as in the first method.)
SystemSKU
.(Presumably it gets it from the registry as in the first method.)
For more info see Richard Siddaway's Blog.
Method 3 : Class Win32_BIOS
The following fragment finds the product number for some computer makes. Tested on Dell.
The Microsoft reference information is found in the article Win32_BIOS class.
harrymcharrymc
This is tested on a HP Laptop. I think HP 'Product number' is called SystemSKUNumber in win32_computersystem WMI. Tested on my HP laptop.
Will result in:
OlofLOlofL
If anyone else comes across this question, be advised, the entirety of win32_computersystem doesn't appear to contain the product number for servers, specifically. I was unable to actually find the information via WMI, but it turns out I was actually given the product number AND serial numbers for a number of servers (the spreadsheet was horribly formatted, so the two fields just looked like one big string until my afternoon coffee kicked in).
Steve FreemanSteve Freeman
CédricCédric
Works on Windows 7 & Windows 10From another user that posted. @harrymc
$Server
can be directly replaced by a ComputerName. example..Keep in mind if you are on a domain you may need to provide credentials by either using an
invoke-command
or -credential
parameter.or
How To Get Serial Number From Hp Laptop Computer
if WinRm is not configured on client, you may experience issues.
DubRub135DubRub135