HPE Integrated Lights-Out (iLO),
HPE Onboard Administrator (OA) for HPE BladeSystem Enclosures and
System BIOS of HPE ProLiant servers, this set of PowerShell utilities
We will only use iLO at this moment, because this is the most valuable.
It is a proprietary embedded server management technology of HP.
iLO makes it possible to perform activities on an server from a remote location. Even if the server OS is not responding.
1. Download the PowerShell Module
See here at the moment we are at version 2.1
2. Load the PS Module
Check the version
import-module "C:\Program Files (x86)\Hewlett Packard Enterprise\PowerShell\Modules\HPEiLOCmdlets\HPEiLOCmdlets.psd1"
Get-Module -ListAvailable "HPEiLO*"
List the Cmdlets
Get-Command -Module "HPEiLOCmdlets"
Update the PS Module if needed
Search for iLO servers in your network using a range or subnet
$IPRange = Read-host " Enter the IP Range of HPOA ( 10.0.0.1-25) "
Now you are ready to run some cmdlets.
Let’s check the power of the server:
Get-HPEiLOServerPower -Connection $connection
Let’s check the Temperature Sensors
$Ret = Get-HPEiLOTemperature -Connection $connection
$Ret.Temperature | Out-GridView
3. iLO commandline Tools
The HP management utillity called hponcfg.exe is installed here.
iLO config Export Example :
hponcfg.exe /w c:\Temp\iloconfig.txt
You can use the is config file to make changes to your iLO configuration, like resetting your Password etc.
hponcfg /f your_script_name.txt