Thursday, August 17, 2017

Script to fetch HP ILO firmware versions

Script to fetch HP ILO firmware versions
---

cat rilo_hst_ip|while read i; do  rip=$(echo $i|cut -d',' -f2); ver=$(curl https://$rip/xmldata?item=All --insecure|grep FWRI|cut -d'>' -f2 |cut -d'<' -f1) ;echo $i,$ver >> rilo_vers2   ;  done

No comments:

Post a Comment