Getting HP Warranty Information

I have tried several different ways but I cannot seem to find this information. Does anyone have any ideas or has done this before? I have been reading that you can extract the serial and productID from wmi, which I have done. Then use these to run a web query against HP’s warranty page and return the date. any information on this is greatly appreciated.

function Execute-SOAPRequest {
Param (

write-Output “Sending SOAP Request To Server: $URL”
$soapWebRequest = [System.Net.WebRequest]::Create($URL)

$soapWebRequest.ContentType = ‘text/xml; charset=utf-8’
$soapWebRequest.Accept = “text/xml”
$soapWebRequest.Method = “POST”
$soapWebRequest.UserAgent = ‘RemoteSupport/A.05.05 - gSOAP/2.7’

$soapWebRequest.ServicePoint.Expect100Continue = $False
$soapWebRequest.ServicePoint.MaxIdleTime = 2000
$soapWebRequest.ProtocolVersion = []::version10

write-Output “Initiating Send.”
$requestStream = $soapWebRequest.GetRequestStream()

write-Output “Send Complete, Waiting For Response.”
$resp = $soapRequest.GetResponse()
$responseStream = $resp.GetResponseStream()
$soapReader = System.IO.StreamReader
$ReturnXml = [Xml]$soapReader.ReadToEnd()

write-Output “Response Received.”

return $returnxml

$SOAPRequest = Xml
$URL = ‘

Execute-SOAPRequest $SOAPRequest $URL

With the xml file

<SOAP-ENV:Envelope xmlns:SOAP-ENV=“” xmlns:iseeReg=“”>
<iseeReg:request><isee:ISEE-Registration xmlns:isee=“” schemaVersion=“5.00”>
<Property name=“TimestampGenerated” value=“2013/10/22 09:40:35 GMT Standard Time”/>
<Property name=“CollectorType” value=“MC3”/>
<Property name=“CollectorVersion” value=“T05.80.1 build 1”/>
<Property name=“AutoDetectedSystemSerialNumber” value=“10”/>
<Property name=“SystemModel” value=“HP ProLiant”/>
<Property name=“TimestampGenerated” value=“2013/10/22 09:40:35 GMT Standard Time”/>

Any ideas?

Hi Oliver, did you ever figure this out?

Hi Garth,

You can find a copy of the script here:

It works fine on Powershell 3.0 I am just having some problems getting it to work on powershell 2.0. I deployed it the servers I monitor using our RMM tool. It is great to see the warranty information along with everything else.