On October 17th, HP has released the first version of their HP Scripting Tools for Windows PowerShell, which are available for download here.
There are six available packages, depending on your OS version :
- Microsoft Windows 7 (32-bit)
- Microsoft Windows 7 (64-bit)
- Microsoft Windows 8 (32-bit)
- Microsoft Windows 8 (64-bit)
- Microsoft Windows Server 2008 R2
- Microsoft Windows Server 2012
As stated in the Readme file, "The HP Scripting Tools for Windows PowerShell provide a simplified and consistent infrastructure management experience. Starting with HP Integrated Lights-Out (iLO), 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.0 release supports iLO3 and iLO4.
The prerequisite for this package of cmdlets is to have the WMF 3.0 (and therefore Powershell 3.0), as well as .NET 4.0.
To install it, launch the msi file named HPiLOCmdlets-x64.msi. The HP cmdlets are available out-of-the-box, since the installer add the HPiLOCmdlets module:
Directory: C:\Program Files\Hewlett-Packard\PowerShell\Modules ModuleType Version Name ExportedCommands ---------- ------- ---- ---------------- Script 1.0.0.0 HPiLOCmdlets {Add-HPiLOProfile, Add-HPiLOSSORecord, Add-HPiLOUser, Clea...
To check that the installation has completed successfully, run:
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.0.0.0 UICultureName : en-US UICultureVersion : 1.0.0.0In total there are 110 cmdlets:
Get-Command *hpilo* CommandType Name ModuleName ----------- ---- ---------- Function Add-HPiLOProfile HPiLOCmdlets Function Add-HPiLOSSORecord HPiLOCmdlets Function Add-HPiLOUser HPiLOCmdlets Function Clear-HPiLOAHSData HPiLOCmdlets Function Clear-HPiLOEventLog HPiLOCmdlets Function Clear-HPiLOIML HPiLOCmdlets Function Clear-HPiLOPowerOntime HPiLOCmdlets Function Disable-HPiLOERSIRSConnection HPiLOCmdlets Function Disable-HPiLOSecurityMessage HPiLOCmdlets Function Dismount-HPiLOVirtualMedia HPiLOCmdlets Function Enable-HPiLOERSIRSConnection HPiLOCmdlets Function Enable-HPiLOFIPS HPiLOCmdlets Function Enable-HPiLOSecurityMessage HPiLOCmdlets Function Find-HPiLO HPiLOCmdlets Function Get-HPiLOAHSStatus HPiLOCmdlets Function Get-HPiLOAssetTag HPiLOCmdlets Function Get-HPiLOCertificateSigningRequest HPiLOCmdlets Function Get-HPiLODefaultLanguage HPiLOCmdlets Function Get-HPiLODirectory HPiLOCmdlets Function Get-HPiLOERSSetting HPiLOCmdlets Function Get-HPiLOEventLog HPiLOCmdlets Function Get-HPiLOFan HPiLOCmdlets Function Get-HPiLOFIPSStatus HPiLOCmdlets Function Get-HPiLOFirmwareInfo HPiLOCmdlets Function Get-HPiLOFirmwareVersion HPiLOCmdlets Function Get-HPiLOGlobalSetting HPiLOCmdlets Function Get-HPiLOHealthSummary HPiLOCmdlets Function Get-HPiLOHostAPO HPiLOCmdlets Function Get-HPiLOHostData HPiLOCmdlets Function Get-HPiLOHostPower HPiLOCmdlets Function Get-HPiLOHostPowerMicroVersion HPiLOCmdlets Function Get-HPiLOHostPowerSaver HPiLOCmdlets Function Get-HPiLOHotKeyConfig HPiLOCmdlets Function Get-HPiLOIML HPiLOCmdlets Function Get-HPiLOLanguage HPiLOCmdlets Function Get-HPiLOLicense HPiLOCmdlets Function Get-HPiLOMemoryInfo HPiLOCmdlets Function Get-HPiLOModuleVersion HPiLOCmdlets Function Get-HPiLONetworkSetting HPiLOCmdlets Function Get-HPiLONICInfo HPiLOCmdlets Function Get-HPiLOOAInfo HPiLOCmdlets Function Get-HPiLOOneTimeBootOrder HPiLOCmdlets Function Get-HPiLOPersistentBootOrder HPiLOCmdlets Function Get-HPiLOPowerAlertThreshold HPiLOCmdlets Function Get-HPiLOPowerCap HPiLOCmdlets Function Get-HPiLOPowerOnTime HPiLOCmdlets Function Get-HPiLOPowerReading HPiLOCmdlets Function Get-HPiLOPowerSupply HPiLOCmdlets Function Get-HPiLOProcessor HPiLOCmdlets Function Get-HPiLOProfile HPiLOCmdlets Function Get-HPiLORackSetting HPiLOCmdlets Function Get-HPiLOSecurityMessage HPiLOCmdlets Function Get-HPiLOServerName HPiLOCmdlets Function Get-HPiLOSNMPIMSetting HPiLOCmdlets Function Get-HPiLOSpatial HPiLOCmdlets Function Get-HPiLOSSOSetting HPiLOCmdlets Function Get-HPiLOStorageController HPiLOCmdlets Function Get-HPiLOTemperature HPiLOCmdlets Function Get-HPiLOUIDStatus HPiLOCmdlets Function Get-HPiLOUser HPiLOCmdlets Function Get-HPiLOUserInfo HPiLOCmdlets Function Get-HPiLOUserList HPiLOCmdlets Function Get-HPiLOVMStatus HPiLOCmdlets Function Import-HPiLOCertificate HPiLOCmdlets Function Import-HPiLOSSHKey HPiLOCmdlets Function Invoke-HPiLOProfileDownload HPiLOCmdlets Function Mount-HPiLOVirtualMedia HPiLOCmdlets Function Remove-HPiLOProfile HPiLOCmdlets Function Remove-HPiLOSSORecord HPiLOCmdlets Function Remove-HPiLOUser HPiLOCmdlets Function Remove-HPiLOUserSSHKey HPiLOCmdlets Function Reset-HPiLOAdministratorPassword HPiLOCmdlets Function Reset-HPiLORIB HPiLOCmdlets Function Reset-HPiLOServer HPiLOCmdlets Function Set-HPiLOAHSStatus HPiLOCmdlets Function Set-HPiLOAssetTag HPiLOCmdlets Function Set-HPiLOBrownout HPiLOCmdlets Function Set-HPiLOComputerLockConfig HPiLOCmdlets Function Set-HPiLODefaultLanguage HPiLOCmdlets Function Set-HPiLODirectory HPiLOCmdlets Function Set-HPiLOFactoryDefault HPiLOCmdlets Function Set-HPiLOGlobalSetting HPiLOCmdlets Function Set-HPiLOHostAPO HPiLOCmdlets Function Set-HPiLOHostPower HPiLOCmdlets Function Set-HPiLOHostPowerSaver HPiLOCmdlets Function Set-HPiLOHotKeyConfig HPiLOCmdlets Function Set-HPiLOKerberosConfig HPiLOCmdlets Function Set-HPiLOLicenseKey HPiLOCmdlets Function Set-HPiLOLockConfiguration HPiLOCmdlets Function Set-HPiLONetworkSetting HPiLOCmdlets Function Set-HPiLOOneTimeBootOrder HPiLOCmdlets Function Set-HPiLOPassword HPiLOCmdlets Function Set-HPiLOPersistentBootOrder HPiLOCmdlets Function Set-HPiLOPowerAlertThreshold HPiLOCmdlets Function Set-HPiLOPowerCap HPiLOCmdlets Function Set-HPiLORBSUPOSTIP HPiLOCmdlets Function Set-HPiLOSchemalessDirectory HPiLOCmdlets Function Set-HpiLOServerName HPiLOCmdlets Function Set-HPiLOSharedNetworkPort HPiLOCmdlets Function Set-HPiLOSNMPIMSetting HPiLOCmdlets Function Set-HPiLOSSOSetting HPiLOCmdlets Function Set-HPiLOUIDStatus HPiLOCmdlets Function Set-HPiLOUser HPiLOCmdlets Function Set-HPiLOVirtualPowerButton HPiLOCmdlets Function Set-HPiLOVLAN HPiLOCmdlets Function Set-HPiLOVMPortSetting HPiLOCmdlets Function Set-HPiLOVMStatus HPiLOCmdlets Function Start-HPiLOERSAHSSubmission HPiLOCmdlets Function Start-HPiLOL2Collection HPiLOCmdlets Function Start-HPiLOTestEvent HPiLOCmdlets
For the moment I started playing with Find-HPiLO, but found no iLO on my subnets. Pretty strange since I have hundreds of them. I'll keep investigating and post here when I understand how this stuff works. Anyway it's a great thing the HP has adopted Powershell as administration language and this shows that this new Microsoft language is becoming both a de jure and de facto standard.
Cool! Je savais pas qu'il avait sorti ca! :-)
ReplyDeletePlein de scripts en perspective!
Oui, c'est nouveau. C'est pas mal que de plus en plus des 'poids lourd' du marché se mettent à Powershell!
DeleteMerci pour ton commentaire!
The download page says "Downloads for this product are not available through this website." Any idea what's up?
ReplyDelete