Closed dillten closed 8 years ago
Awesome! thanks for the info, I will dig into this tonight or tomorrow morning. Thanks again.
Actually, I feel like i'm missing something, are you saying that you can use this method to lookup enterprise systems? because the file you changed was the one for looking up workstations, and was already using a REST method to lookup. The Get-HPWarrantyEntilement
was the cmdlet using the SOAP request.
So, I was able to get some ProdNo and SerilNo for a server, and that method does not work. So I'm still not sure the point of this. The orginal way the Get-HPIncWarrantyEntitlement
is written provides more info, so I am going to leave that the way its. If you can make this work for servers, that would be great. thanks!
maybe I spoke to soon, this did return some results for second pair lol, I was able to query a workstation using this method as well, so maybe able to converge into one cmdlet? ill keep digging.
Also, can you tell me how you came across this info?
No, that was my mistake, I edited the wrong script. Little transposition on my part. It was intended to modify the HPE request method.
As for the method of acquisition, I was able to find this endpoint by watching the traffic from HPE's mobile support apps.
I'll pull this back and make the modifications to the correct script.
This merge request changes the code from the SOAP endpoint that isn't working any longer, per issue #21, to a REST endpoint that provides similar information for HPE systems. Some of the parameters used in the previous script may not apply any longer - I left them in the code but commented out. I think there are some improvements to be made here, but this is a starting framework for changing over to the new endpoint.