How to install the HPE iLO PowerShell Module

This is a quick post to show you how to install the HPE iLO PowerShell module

Run the below commands:

Install-PackageProvider -Name NuGet -Force

Install-Module -Name PowerShellGet -Force

Update-Module -Name PowerShellGet

Install-Module -Name HPEiLOCmdlets -RequiredVersion 3.0.0.0

Import-Module HpeIloCmdlets

 

You can then use the below to test the connection:

$credential = Get-Credential 

$esxi = Connect-HPEiLO -IP 192.168.0.10 -Credential $credential -DisableCertificateAuthentication

Get-HPEiLOFirmwareInventory -Connection $esxi

get-command -ListImported 

One Reply to “How to install the HPE iLO PowerShell Module”

Leave a Reply

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