Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

I'm currently writing a script to get all the embedded health of an ILO. What I want is to avoid to create file, so I've create my xml request but I tried with no success with the /i parameter of HPONCFG :-(

Does anyone have successfully used a input stream instead of a xml file ?

Thanks in advance.

share|improve this question

2 Answers 2

Can you show us how you're executing the command? The "/i" indicates that you're using Windows. In Linux, the approach is to use hponcfg -i. The XML input stream would be piped into the command. I believe the same applies to Windows scripting.

share|improve this answer
    
Hi ewwhite, I'm in Windows and execute a vbscript like that : Set objWshScriptExec = objShell.Exec ("cmd /c " & requestXML & " | X:\Tools\iLo\hponcfg /i") requestXML is my string variable When I execute manually the command hponcfg /i, I can copy paste the XML press return and I need to press also CTRL+C to obtain result –  user301089 Jun 5 '12 at 14:03
up vote 0 down vote accepted

Finally I found a solution that I posted to this forum.

share|improve this answer
    
Whilst this may theoretically answer the question, it would be preferable to include the essential parts of the answer here, and provide the link for reference. –  mgorven Jul 2 '12 at 21:21

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.