1

Is there a way to use HP's XML API for ILO with PowerShell's Invoke-RestMethod and/or Invoke-WebRequest?

Andrew J. Brehm
  • 1,611
  • 7
  • 37
  • 57

1 Answers1

1

I have worked on a piece of software that does exactly that. If I recall, the method is simply to POST the XML document you generate according to the documentation, and parse the reply. Powershell allows you to construct and send these documents with the xml type, and parse the reply using an object model.

In other words, yes, of course you can do that. Just fetch the WSDL, write some code that constructs your documents, and transcieve them with the server using the HTTP cmdlets you've identified.

Falcon Momot
  • 25,244
  • 15
  • 63
  • 92