ProLiant Servers (ML,DL,SL)
cancel
Showing results for 
Search instead for 
Did you mean: 

what is wrong with this ILO script?

Mike Niccum
Occasional Advisor

what is wrong with this ILO script?

sXML = ""

Set xml = CreateObject("Microsoft.XMLHTTP")
xml.Open "POST", "http://x.x.x.x",False
xml.send sXML
WScript.echo xml.responseText
4 REPLIES
Mike Niccum
Occasional Advisor

Re: what is wrong with this ILO script?

FYI:

I change the username and password to the correct values and x.x.x.x to the valid IP.

Mike
Mike Niccum
Occasional Advisor

Re: what is wrong with this ILO script?

I should have supplied the error:

Remote Insight

Request Error


HTTP/1.1 405 Method Not Allowed


Sorry,

Mike
Mike Niccum
Occasional Advisor

Re: what is wrong with this ILO script?

I also tried this with the same error:

Set oXMLHTTP = CreateObject("MSXML2.ServerXMLHTTP")
Set oXMLDOM = CreateObject("MSXML2.DOMDocument")
sXML = ""
oXMLDOM.LoadXML sXML
oXMLHTTP.Open "POST", "https://x.x.x.x",False,"administrator","password" 'should i pass uid and pw here or only in XML?
oXMLHTTP.setOption 2, 13056 'dont warn about cert errors
oXMLHTTP.send oXMLDOM.XML
WScript.echo oXMLHTTP.ResponseText
Mike Niccum
Occasional Advisor

Re: what is wrong with this ILO script?

bump