cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
FPuma_UH
Engaged Sweeper

I am trying to use the HP Warranty Powershell script posted in this forum.  

https://community.lansweeper.com/t5/general-discussions/hp-warranty-scan-broken-for-some-products/m-...

It seems its not working for me.  I getting the error below.

450137 SJMN013AEP08
Get-HPIncWarrantyEntitlement : Failed to invoke SOAP request.
At C:\Users\fpumaxx1-sa\Documents\HP_Warranty.ps1:14 char:19
+ ... arranty = ((Get-HPIncWarrantyEntitlement -SerialNumber $asset.SerialN ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Write-Error], WriteErrorException
+ FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Get-HPIncWarrantyEntitlement

2 REPLIES 2
Mercedes_O
Community Manager
Community Manager
rom
Champion Sweeper III

I haven't verified, but the HP API has been broken for a long time.  reference: https://developers.hp.com/hp-client-management/forum/warranty-api-currently-unavailable?page=4#comme...  i think that goes to the newest post in that thread.  It was broken when I checked a few years ago.