beautypg.com

HP Scripting Tools for Windows PowerShell User Manual

Page 13

background image

LICENSE_TYPE : iLO 3 Advanced
MANAGEMENT_PROCESSOR : iLO3

IP : 192.168.217.103
HOSTNAME : iloromqap8207bc.company.net
STATUS_TYPE : OK
STATUS_MESSAGE : OK
FIRMWARE_DATE : Nov 05 2013
FIRMWARE_VERSION : 1.32
LICENSE_TYPE : iLO 4 Advanced
MANAGEMENT_PROCESSOR : iLO4

The verbose output shown indicates that seven threads are being used for Find-HPiLO, which
lists each address being checked, and then two threads in the Get-HPiLOFirmwareVersion
command. (This threading allows multiple commands to multiple iLOs to be sent at the same time.)
The pipeline then sends to Add-Member twice and for each item adds the –Username and
–Password

parameters to the returned objects that represent the iLOs found.

Those are in turn passed through to Get-HPiLOFirmwareVersion to drive its parameter inputs.
The final results are the firmware version information for the two iLOs found by Find-HPiLO.
Without the –Verbose parameters you would see the Warning line from Find-HPiLO and the
firmware information for the two iLOs found in that range of addresses.

Using the Get-HPiLOModuleVersion and
Update-HPiLOModuleVersion

cmdlets

These cmdlets are used to determine the current version of the HPiLOCmdlets module installed and
update the HPiLOCmdlets module if necessary.

The Get-HPiLOModuleVersion cmdlet has no parameters. It accesses the installed module file
and help files and displays information about them including version numbers. The following is
typical Get-HPiLOModuleVersion cmdlet output.

PS C:\Users\Username> Get-HPiLOModuleVersion

Name : HPiLOCmdlets
Path : C:\Program Files\Hewlett-Packard\PowerShell\Modules\
HPiLOCmdlets\HPiLOCmdlets.psm1
Description : Cmdlets to interface with HP iLO
GUID : 05545ade-5f25-4696-bfcc-e1d67fe32519
Version : 1.1.0.0
UICultureName : en-US
UICultureVersion : 1.1.0.0

The Update-HPiLOModuleVersion cmdlet has no parameters. This cmdlet checks the version
number of the installed cmdlets against the version number available for download. If the local
version is the most recent, the output will indicate this.

PS C:\Users\Username> Update-HPiLOModuleVersion
The currently installed version 1.1.0.0 is the most current.

If there is a more recent version available than the one currently installed locally, the output will
indicate this and give you option to download the latest version.

PS C:\Users\Username> Update-HPiLOModuleVersion
There is a newer version of HPiLOCmdlets available at

Using the Get-HPiLOModuleVersion and Update-HPiLOModuleVersion cmdlets

13