HP iLO 4 Scripting and Command Line Guide

<?xml version="1.0"?>
<RIBCL VERSION="2.23">
<RESPONSE
STATUS="0x0000"
MESSAGE='No error'
/>
<GET_TPM_STATUS>
<TPM_SUPPORTED VALUE="Yes">
<TPM_PRESENT VALUE="Yes">
<TPM_ENABLED VALUE="Yes">
</GET_TPM_STATUS>
GET_CURRENT_BOOT_MODE
Use GET_CURRENT_BOOT_MODE to retrieve the current boot mode. The specified user must have
a valid iLO account to execute RIBCL commands. For this command to parse correctly, the command
must appear within a SERVER_INFO command block, and SERVER_INFO MODE must be set to
read. For example:
<RIBCL VERSION="2.0">
<LOGIN USER_LOGIN="adminname" PASSWORD="password">
<SERVER_INFO MODE="read">
<GET_CURRENT_BOOT_MODE/>
</SERVER_INFO>
</LOGIN>
</RIBCL>
Possible return values are LEGACY, UEFI, or UNKNOWN.
GET_CURRENT_BOOT_MODE parameters
None
GET_CURRENT_BOOT_MODE runtime errors
None
GET_CURRENT_BOOT_MODE return messages
A possible GET_CURRENT_BOOT_MODE return message includes:
<?xml version="1.0"?>
<RIBCL VERSION="2.23">
<RESPONSE
STATUS="0x0000"
MESSAGE='No error'
/>
<GET_CURRENT_BOOT_MODE>
<BOOT_MODE VALUE="UEFI"/>
</GET_CURRENT_BOOT_MODE>
</RIBCL>
GET_PENDING_BOOT_MODE
Use GET_PENDING_BOOT_MODE to retrieve the pending boot mode, which becomes active on
the next server reboot. The specified user must have a valid iLO account to execute RIBCL commands.
For this command to parse correctly, the command must appear within a SERVER_INFO command
block, and SERVER_INFO MODE must be set to read.
For example:
<RIBCL VERSION="2.0">
<LOGIN USER_LOGIN="adminname" PASSWORD="password">
<SERVER_INFO MODE="read">
<GET_PENDING_BOOT_MODE/>
</SERVER_INFO>
SERVER_INFO 149