Thursday, January 29, 2015

Powershell to gather ILO Version and Firmware details

Here is a quick, useful snippet around using powershell to query ILO version and firmware.

Create a list of ilo names or IPs, one server per line.  Below notated as iloservers.txt

This powershell will interrogate version for each ilo instance.  An interesting sidenote here is that you can get some interesting information from ILO w/ no authentication (really?  In 2015 this is still the case? wtf.)

$ilo = New-Object System.Xml.XmlDocument
foreach ($server in (Get-Content .\iloservers.txt) ){
      "$server : $($ilo.RIMP.MP.PN) - $($ilo.RIMP.MP.FWRI)"