- Community Home
- >
- Servers and Operating Systems
- >
- HPE BladeSystem
- >
- BladeSystem - General
- >
- Re: Update-HPiLOFirmware OutputType ExternalComman...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-13-2018 07:30 AM - edited тАО07-13-2018 07:50 AM
тАО07-13-2018 07:30 AM - edited тАО07-13-2018 07:50 AM
I am trying to update an iLO's firmware using the PowerShell commands:
Invoke-HPOAiLOCommand
Update-HPiLOFirmware
To pass the Update-HPiLOFirmware command to the Invoke-HPOAiLOCommand I need to assign it to a variable ($updateCommand). My code:
$updateCommand = Update-HPiLOFirmware -Server $server -Credential $creds -Location "C:\ilo4_260.bin" -OutputType ExternalCommand
Assigning the variable fails to execute due to the OutputType ExternalCommand not being in the validate set. The error message I receive is:
Update-HPiLOFirmware : Cannot validate argument on parameter 'OutputType'. The argument "ExternalCommand" does not belong to the set "XML,RIBCL,PSObject" specified by the ValidateSet attribute.
But the help command for Update-HPiLOFirmware states ExternalCommand is available for the OutputType parameter:
-OutputType [<String>]
Specifies the type of required output. Possible value can be ExternalCommand, XML, RIBCL or PSObject.
The value ExternalCommand for the parameter OutputType creates RIBCL command with other details that are passed to the OA cmdlet Invoke-HPOAiLOCommand from HPOACmdlets. See the user guide for an example.
What am I missing? I'm using HPiLO PowerShell module 1.5.0.1. on PowerShell 4 and 5.
Is there anything in the HPEiLO command set that is comparable? I'm not using Update-HPOAiLO for other reasons. Thanks!
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-16-2018 02:32 AM
тАО07-16-2018 02:32 AM
SolutionUpdate-HPiLOFirmware is not interoperable with Invoke-HPOAiLOCommand cmdlet by design. The help content for OutputType is inaccurate and will be updated in next release.
To update iLO Firmware using OA use Update-HPOAiLO
To update SYSROM through OA use Update-HPOAFWServer
use Get-Help of the cmdlets to get detailed information.
Do let us know, what is blocker for you in using Update-HPOAiLO cmdlets ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-16-2018 10:15 AM - edited тАО07-16-2018 10:18 AM
тАО07-16-2018 10:15 AM - edited тАО07-16-2018 10:18 AM
Re: Update-HPiLOFirmware OutputType ExternalCommand failing
I found that running Update-HPOAiLO has been hit or miss.
Out of 250 iLO's that I attempted to update to 2.6 (using a PowerShell script I wrote) more than half fail. The issue more than likely lies with the server I have hosting the bin file. I'm also using the HTTP protocol. Either way, I was hoping to find another way to update these iLOs.
I am very interested in iLO Federation as I have more than 2,000 iLOs, but that's later on.