|
|
This time I needed to get serial number of hp ProLiant DL380 server without taking the server out or even going next to that server so I find out that it’s pretty easy to get serial number of that server with a sort wmic command and some magic parameters. Just open command prompt and say: wmic /node:HOSTNAME bios get serialnumber. Oct 08, 2018 I have a HP ProLiant DL380 G3 server and I need to check the original equipment configuraton via the service tag. What's the link to check original hardware config with a HP service tag? You can use this link to locate your HP serial number on your product. I noticed a few posts from users searching for ways to find the serial number of their HP ProLiant servers. Find HP ProLiant Server Serial Number. Author Topic: How to find serial number of HP Proliant server in Windows? (Read 4944 times). How to find serial number of HP Proliant server in Windows?
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).
Serial number lookup The form below allows you to enter serial number information and retrieve warranty status. Enter up to twenty serial numbers in the fields below and click 'Submit'. Note: Additional time will be required to look up multiple serial numbers. How to find computer serial number. Windows Vista Business Windows Vista Ultimate Microsoft Windows Server 2003 R2 Enterprise x64 Edition Microsoft Windows Server.
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 XT908UT#ABA
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 PowerShellHKEY_LOCAL_MACHINEHARDWAREDESCRIPTIONSystemBIOSitem 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.
harrymcharrymcThis 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:
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).
Works on Windows 7 & Windows 10From another user that posted. @harrymc
or try
$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
Hp Server Lookup
if WinRm is not configured on client, you may experience issues.