iLO Power Settings & Powershell Scripting

As part of routine checks of the environment some rather unusual results were seen in the DRS Resource Distribution chart. The chart was suggesting that the full performance wasn’t being delivered to the VMs. It was thought that this was probably an issue at the host level and a colleague suggested checking the power settings on the host.

DRS Resource
DRS Resource Distribution


The standard for the current environment is to set the Power Regulator settings to “HP Static High Performance Mode” to ensure maximum performance of the hosts and VMs. Perhaps this host hadn’t been configured right? We should be seeing the following via iLO.

iLO Power Regulator Settings
iLO Power Regulator Settings


As suspected, the host was set to Dynamic. When this was changed to High, the DRS Resource Distribution reverted to the more normal all green.

I then wanted to check through other hosts but wanted to look for a way of scripting a query, rather than using the web interface. HP Scripting Tools for Windows Powershell to the rescue.

Head over to their page to download the module for iLO and OA and install. Querying is straight forward, here are a few to get you started

See all cmdlets in the HPiLOCmdlets

get-command -Module HPiLOCmdlets

Bringing up the Command Addon in the ISE is also a useful way of browsing all the cmdlets available per module

HP Cmdlets ISECommandAddon
HP Cmdlets


Get help on a cmdlet

get-help Get-HPiLOAssetTag

Get the Power Regulator Settings

Find-HPiLO “” | Get-HPiLOHostPowerSaver -username XXXX

Get the firmware version

Find-HPiLO “” | Get-HPiLOFirmwareVersion -username XXXX

Get the Enclosure and location

Find-HPiLO “” | Get-HPiLOOAInfo -username XXXX | select ip, hostname, encl, location, rack | ft -AutoSize

VMware have a knowledge base article covering this scenario. VMware KB: Poor virtual machine application performance may be caused by processor power management settings (1018206)

1 Comment

  1. // Reply

    Can’t believe I didn’t think of that…! *Doh*
    Thank you, Thank you, Thank you!! ?

Leave a Reply

Your email address will not be published. Required fields are marked *