Check your HP product warranty status and support options available based on your country/region location with the HP Warranty Check Tool. The video in this document shows you the most common ways to find your Product Name (Model), Product Number, or Serial Number. If you are unable to see the video or have further questions, select the appropriate link in the table below for detailed information. The only info i got for some servers is the serial number. I also need the model number. Anyone how to find that, if it's possible without rebooting the server.
Active5 months ago
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 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
Tried:
Get-WmiObject Win32_ComputerSystem | Select-Object OEMStringArray
Result:
{ABS 70/71 79 7A 7B 7C, CMS v01.4A, HP_Mute_LED_0, www.hp.com}
... But expecting to find Hennes
XT908UT#ABA
Lookup Hp Server Configuration By Serial Number
60k77 gold badges9494 silver badges143143 bronze badges
SgtOJSgtOJ
6,40844 gold badges4242 silver badges6363 bronze badges
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.
Method 2 : rootwmi – MS_SystemInformation
Class MS_SystemInformation contains the product number in its member
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
287k1616 gold badges308308 silver badges624624 bronze badges
This is tested on a HP Laptop. I think HP 'Product number' is called SystemSKUNumber in win32_computersystem WMI. Tested on my HP laptop.
Hp Server Dl360 G5
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).
Lookup Hp Server Serial Number Lookup
Steve FreemanSteve Freeman
Nifle
28.9k2323 gold badges9797 silver badges132132 bronze badges
CédricCédric
Works on Windows 7 & Windows 10From another user that posted. @harrymc
or try
$Server can be directly replaced by a ComputerName. example...
Lookup Hp Server Serial Numbers
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
if WinRm is not configured on client, you may experience issues.
Scott
Hp Model Number Lookup
17.3k1111 gold badges4848 silver badges9292 bronze badges
DubRub135DubRub135
Not the answer you're looking for? Browse other questions tagged powershell or ask your own question.Comments are closed.
|
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
December 2020
Categories |