dotps1 / HPWarranty

PowerShell module to help retrieve Hewlett-Packard Warranty Information
https://www.powershellgallery.com/packages/HPWarranty/
43 stars 17 forks source link

HP is splitting into 2 businesses - Servers are no longer provided by hp.com #9

Closed nonfant closed 9 years ago

nonfant commented 9 years ago

When requesting the warranty status of a server I get the following error in the output xml file:

2015-08-06T21:22:36.417 FUNCTIONAL 214 Product or part not eligible for warranty DataNotFound Source WARRANTY SWOP 2016: This product is not eligible for HP Inc warranty; Support is obtained from Hewlett Packard Enterprise . [TXID 6636151563]

I am unsure what website/api the new HP Enterprise has however would it be possible to modify the cmdlets to allow the pulling of Server warranties again.

beanska commented 9 years ago

Is this an enterprise or consumer model? What is the model name?

edit: Sorry you did say server.

nonfant commented 9 years ago

Enterprise - Server ProLiant DL380 G6 -ProductModel "491315-001" Decided to take out the serial too much detail.

nonfant commented 9 years ago

Also I have around 100 that I used to check on a regular bases and it worked perfectly until 6/28. That's when it started failing. (just noticed it now)

nonfant commented 9 years ago

I think I found the URL. When I go to the old warranty check system on HP.com. I am told to go here to check for Enterprise warranties: http://h20566.www2.hpe.com/hpsc/wc/public/home

dotps1 commented 9 years ago

I'm not sure how to address this as of yet. This module uses HP ISEE to handing the requests. I will do some research when I get some time, I will let you know. Thanks for the heads up.

powershellpr0mpt commented 9 years ago

Hey Thomas, As I had mentioned on twitter, I'm getting the current results when running a query:

Name Value


GracePeriod ProductID WarrantyDeterminationDescri... OverallWarrantyEndDate OverallWarrantyStartDate SerialNumber OverallContractEndDate ActiveWarrantyEntitlement

So I get a token and gdid, but zero results. If I do this manually, I get the result that the service is currently unavailable, so perhaps this has to do with the same thing.

Difference with other users is that I'm not actually getting an error, just blank output.

nonfant commented 9 years ago

The error is only seen in the XML output. You can enable the xml file output through one of the command parameters. I also only receive empty values when I run it just like you. Thanks,Andreas

Sent from my Verizon Wireless 4G LTE smartphone

-------- Original message -------- From: Robert Prust notifications@github.com Date: 08/26/2015 6:46 AM (GMT-05:00) To: dotps1/HPWarranty HPWarranty@noreply.github.com Cc: nonfant admin@andreasfelder.com Subject: Re: [HPWarranty] HP is splitting into 2 businesses - Servers are no longer provided by hp.com (#9)

Hey Thomas, As I had mentioned on twitter, I'm getting the current results when running a query:

Name Value


GracePeriod ProductID WarrantyDeterminationDescri... OverallWarrantyEndDate OverallWarrantyStartDate SerialNumber OverallContractEndDate ActiveWarrantyEntitlement

So I get a token and gdid, but zero results. If I do this manually, I get the result that the service is currently unavailable, so perhaps this has to do with the same thing.

Difference with other users is that I'm not actually getting an error, just blank output.


Reply to this email directly or view it on GitHub: https://github.com/dotps1/HPWarranty/issues/9#issuecomment-134943032

dotps1 commented 9 years ago

Well, it actually seems like they have shut this service down entirely. here is the return response I am getting from the HP ISEE:

<?xml version="1.0" encoding="UTF-8"?>
<ns1:ISEE-GetOOSEntitlementInfoResponse schemaVersion="5.00" xmlns:ns1="http://www.hp.com/schemas/isee/5.00/entitlement">
  <Data frame="0" serialNumber="SerialNumber">
    <EIAError xsi:type="EIAError" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
      <TimeStamp>2015-08-26T12:45:06.751</TimeStamp>
      <ErrorLevel>FUNCTIONAL</ErrorLevel>
      <ErrorID>214</ErrorID>
      <ErrorText>Product or part not eligible for warranty</ErrorText>
      <ErrorClass>DataNotFound</ErrorClass>
      <DataPayLoad>Source WARRANTY SWOP 2016: This product is not
                eligible for HP Enterprise warranty; Support is obtained
                from HP Inc                             . [TXID 6647413557]</DataPayLoad>
    </EIAError>
  </Data>
</ns1:ISEE-GetOOSEntitlementInfoResponse>

Not sure what to say about this, until I have some time to really dig in and see what I can do about it. my guess is they have completely changed how the requests work.

sorry everyone.

powershellpr0mpt commented 9 years ago

No apologies required, this isn't an issue caused by you whatsoever. Such a shame I only came to find out about this module now, could've really used the service. I'll go check with a friend of mine [premium HP partner] what kind of system they use for warranty checks.

Thanks for the quick response!

dotps1 commented 9 years ago

if you can get me the new URLs for there ISEE, if they are still using it, it would be great! thanks!

powershellpr0mpt commented 9 years ago

Small update, checked with friend of mine and he says they're just using the HPE version of the tool http://h20564.www2.hpe.com/hpsc/wc/public/home?lang=en-us&cc=us

So I just tried the module again and I'm getting info!

UPDATE

When trying to get batch info on seperate desktop machines, I'm getting the same blank info again When doing manual search with the HP Support [so no Enterprise support] tool, it does work http://h20564.www2.hp.com/hpsc/wc/public/find

I'm guessing the module does a check on the enterprise site by default, which causes the blank results..

Perhaps add a switch for -enterprise or -server [or -consumer/-desktop] to allow for checks on either platform?

dotps1 commented 9 years ago

I like the idea, the issue is that this uses HP ISEE, and those URLs are public manual places to search. They will not work in this module, I'm hoping HP will publish something for the API for the ISEE, but I have not seen anything as of yet.

Thanks for all the info.

powershellpr0mpt commented 9 years ago

So unless they provide an ISCE [Instant Support Consumer Edition for example], there's no way to get the info for desktops :'(

dotps1 commented 9 years ago

seeming that way, is the module working for servers currently? I don't have any HP Server info to try it out with.

powershellpr0mpt commented 9 years ago

Name Value


GracePeriod 30
ProductID ######
WarrantyDeterminationDescri... Ship date
OverallWarrantyEndDate 2013-07-30
OverallWarrantyStartDate 2010-07-01
SerialNumber ########
OverallContractEndDate
ActiveWarrantyEntitlement false

dotps1 commented 9 years ago

its that for a server?

powershellpr0mpt commented 9 years ago

yes!

dotps1 commented 9 years ago

well, that's funning because this issue was opened for the opposite lol! thanks for all the info!

powershellpr0mpt commented 9 years ago

The whole thing got problematic because they started splitting databases it seems, because if you enter desktop details on the enterprise site it says invalid details and visa versa.

Then when I joined the party the entire service seemed to be down completely [I'm guessing due to doing the final switch to production]...

Now the services are up with separate databases, but this means you can no longer mass query desktop warranty.. :'(

dotps1 commented 9 years ago

Due to the name of this ticket, and it actually works, I am going to close this ticket and open a new one for workstations. Thanks for all the help and info everyone!