I wrote a script to do a simple ilo upgrade.
Download the latest firmware HERE
Download hpe powershell module HERE
Find-HPiLO XXX.XXX.XXX.XXX-(Subnet Mask) | Where {$_.FWRI -lt 2.54 -AND $_.PN -like “*ilo 4*”} | Select -ExpandProperty HOSTNAME | Out-File c:\temp\ilo4.txt
$server = get-content c:\temp\ilo4.txt
$username = “administrator”
$ilocreds = read-host “Please enter your password”
update-HPiLOFirmware -Server $server -username $username -password $ilocreds -Location X:\hp\ILO\ilo4_254.bin