Created
August 9, 2018 19:24
-
-
Save natesubra/284da9270b1b5e3e077788669b71a029 to your computer and use it in GitHub Desktop.
Check HP iLO Firmware Version, no auth required
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/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