HP Scripting Tools for Windows PowerShell

HP has released a PowerShell module HPiLOCmdlets, designed to help IT experts to configure and manage HP iLO 3 and iLO 4 using Windows PowerShell. The HP iLO module is a set of a 110 functions that provides out-of-band automation from a Windows management workstation directly to iLO systems.

Features of the module include:

  • Sending commands to multiple iLOs
  • Finding iLO systems by searching IP addresses
  • Access to information available from iLO systems, including configuration settings, power state and settings, system health, IML and iLO event logs, and many more
  • Setting configurable iLO settings in scripts

You cannot update iLO firmware with this release.

The module requires Windows Management Framework 3.0 and is supported on the following operating systems:

• Microsoft Windows 7 SP1
• Microsoft Windows 8
• Microsoft Windows Server 2008 R2 SP1
• Microsoft Windows Server 2012

An installation file is available for both 64-bit and 32-bit systems. A 21-page user guide can be downloaded from HERE.

There’s one major drawback with the module–it cannot be discovered (on two x64 bit systems I tested on: Windows 7 and Windows 8.1). The installation creates the module under the C:\Program Files\Hewlett-Packard\PowerShell\Modules\HPiLOCmdlets folder. The path of the folder is not visible during installation and the installation process doesn’t update the path in the $env:PSModulePath variable.

Until this gets fixed you might want to save yourself some typing each time you want to use the module and add this line to your profile file so it can be easily discovered with Get-Help, Get-Module, Get-Command or any other discovery cmdlet:

Filed in: News Tags: , , ,

11 Responses to "HP Scripting Tools for Windows PowerShell"

  1. halr9000 says:

    I just heard back from my HP contact, and they mentioned that an external process (an installer) is doing the environment manipulation, and therefore, you have to close/re-open your PowerShell console in order to see the PSModulePath. I’ve not tried it yet, but they said this is even documented that you should close the window. 🙂 Try it and let us know!

    • ShayLevy says:

      PowerShell wasn’t open when I ran the installation file. I opened and closed PowerShell several times, the module could not be found and its path wasn’t in PSModulePath. I even rebooted the machine. I installed the module on two machines, Windows 7 and Windows 8 (x64), same result. Could you try it?

      • Martin Liao says:

        If the there was not error showed up during installation.
        Please have to try to import the module manually. Like

        import-module “C:\Program Files\Hewlett-Packard\PowerShell\Modules\HPiLOCmdlets\HPiLOCmdlets.psd1”

        After this please executing “get-module”
        we must find “hpilocmdlet” showed as below

        ModuleType Version Name ExportedCommands
        ———- ——- —- —————-
        Script HPiLOCmdlets {Add-HPiLOSSORecord, Add-HPiLOUser, Clear-HPiLOAHSData, C…

  2. alzdba says:

    I downloaded and installed these tools on my 32bit Win7 with Powershell 4.
    ( opened Posh as administrator and executed the msi )

    get-module -listavailable shows HPiLOCmdlets as a moduletype script.

    I don’t thing I need to modify the PSModulePath any more 🙂

  3. Brockjava says:

    YES YES YES this fixed the issue thank you. I had the same problem.

Leave a Reply

Submit Comment

© 2018 PowerShell Magazine. All rights reserved. XHTML / CSS Valid.
Proudly designed by Theme Junkie.
%d bloggers like this: