≡ Menu

Powershell script to get ILO version and server model remotely

ILO(Integrated Lights-out)  is a technology that enables system administrators to remote control the server even when it is powered down. After reading my previous post on same ILO topic, one of my X-colleague contacted me for some readymade script which he can use to get the ILO version information. There this script took birth.

This scripts gets the ILO version of given remote server.

$doc = New-object System.XML.XMLDocument
$doc.Load(“http://server-ilo-name/xmldata?item=All“)
write-host $doc.RIMP.MP.PN

Similarly you know server model using below code

$doc = New-object System.XML.XMLDocument
$doc.Load(“http://server-ilo-name/xmldata?item=All“)
write-host $doc.RIMP.HSI.SPN

Hope this information helps you.

Comments on this entry are closed.