Skip to content

Instantly share code, notes, and snippets.

@natesubra
Created August 9, 2018 19:24
Show Gist options
  • Select an option

  • Save natesubra/284da9270b1b5e3e077788669b71a029 to your computer and use it in GitHub Desktop.

Select an option

Save natesubra/284da9270b1b5e3e077788669b71a029 to your computer and use it in GitHub Desktop.
Check HP iLO Firmware Version, no auth required
#!/bin/bash
# Attribution: https://raymii.org/s/snippets/HP-ILO-Quickly-gather-firmware-and-version-information-with-CUR.html
# Quickly check HP iLO Firmware Version, no authentication required.
if [[ $# == 0 ]] ; then
echo "Usage: check_ilo <FQDN/IP>"
else
curl -i -s -k "https://$1/xmldata?item=All" | grep 'FWRI'
fi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment