HP have changed the layout and data type on the HP warranty page, so the script doesn’t work right now. I don’t have the time to update it right now, but I will make a tweet when I do.
In this blog post I will show you have to retrieve warranty info from HP website and add it to SCCM.
I have created a PowerShell script that read the computers serial number and the connect to HP website and get the warranty info. Then the script create a WMI class with the warranty info so we can inventory the data with SCCM.
1. Download find_hp_warranty.ps1
2. Add your country in line 6
3. Change the namespace in line 77 to a name that you want
4. Run it on a couple of computers