HP Scripting Tools for Microsoft Windows
PowerShell - HPiLOCmdlets
© Copyright 2014 Hewlett-Packard Development Company, L.P.
The HP Scripting Tools for Windows PowerShell provides a simplified and consistent infrastructure
management experience. This set of PowerShell utilities will grow over time to provide a comprehensive
set of HP integration tools. It is designed for IT experts with experience in PowerShell scripting and
configuring ProLiant server hardware.
This 1.2 release supports iLO3 and iLO4 with the HPiLOCmdlets for Windows PowerShell.
Prerequisites
There are a few prerequisites before installing and several items to consider in the install.
You should have the Microsoft Management Framework 3.0 (which includes PowerShell 3.0) or
Microsoft Management Framework 4.0 (which includes PowerShell 4.0) installed prior to
installing the HPiLOCmdlets. This also requires you to first install .NET 4.0 for PowerShell 3.0
or .NET 4.5 for PowerShell 4.0. Install links to these are below.
.NET 4.0
[Link]
Microsoft Management Framework 3.0
[Link]
.NET 4.5
[Link]
Microsoft Management Framework 4.0
[Link]
Please read the system requirements and other information provided on the page links above.
Installation
Be sure to close any PowerShell windows before installing. Reboot should not be needed unless
you installed .NET 4.0 and PS 3.0 or .NET 4.5 and PS 4.0 and have not rebooted yet.
The installer should be run from an account with administrative privilege using any normal
method of execution (command line or double click). If you run from an account without
administrative privilege, use one of the following options:
Procedure 1
1. Click Start and select All Programs→Accessories→Windows PowerShell.
2. Right-click one of the PowerShell options and select ‘Run as administrator’.
3. Change (CD) to the directory where you unzipped the installer.
4. On the PowerShell command line run either the 64-bit ([Link]) or the 32-bit
([Link]) installer as appropriate for your system.
Procedure 2
1. Click ‘Start’ and select ‘Run...’
2. In the Run dialog enter the path and filename of the correct installer for your system, either the 64-
bit ([Link]) or the 32-bit ([Link] installer as appropriate for your
system.
If you forgot, close any PowerShell windows and open new ones after the installation is complete.
Usage
You may have to change the execution policy for PowerShell. Get the following help to get more
information in order to decide what to select.
help about_Execution_Policies
You can use this PowerShell command until you decide it fits your needs or not:
Set-ExecutionPolicy -Scope CurrentUser -ExecutionPolicy RemoteSigned
Help for usage of the HPiLOCmdlets is included as with other modules installed on your system.
If you want to see a complete list of the HPiLOCmdlets after installation, in PowerShell type:
help *hpilo*
If you want to get complete help for a specific cmdlet type:
help <cmdlet> -Full
where <cmdlet> is one of the cmdlet names from the list you generated above. Example:
help Find-HPiLO -Full
Issues
If you encounter issues, please provide as much information as possible, including screen captures if
appropriate. See the [Link] page for support contact information. Also, please
include the output from this command in the information:
Get-HPiLOModuleVersion