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.