- Community Home
- >
- Software
- >
- HPE OneView
- >
- Changing multiple ILO password on Proliant servers
-
- Forums
-
- Advancing Life & Work
- Advantage EX
- Alliances
- Around the Storage Block
- HPE Ezmeral: Uncut
- OEM Solutions
- Servers & Systems: The Right Compute
- Tech Insights
- The Cloud Experience Everywhere
- HPE Blog, Austria, Germany & Switzerland
- Blog HPE, France
- HPE Blog, Italy
- HPE Blog, Japan
- HPE Blog, Middle East
- HPE Blog, Russia
- HPE Blog, Saudi Arabia
- HPE Blog, South Africa
- HPE Blog, UK & Ireland
-
Blogs
- Advancing Life & Work
- Advantage EX
- Alliances
- Around the Storage Block
- HPE Blog, Latin America
- HPE Blog, Middle East
- HPE Blog, Saudi Arabia
- HPE Blog, South Africa
- HPE Blog, UK & Ireland
- HPE Ezmeral: Uncut
- OEM Solutions
- Servers & Systems: The Right Compute
- Tech Insights
- The Cloud Experience Everywhere
-
Information
- Community
- Welcome
- Getting Started
- FAQ
- Ranking Overview
- Rules of Participation
- Tips and Tricks
- Resources
- Announcements
- Email us
- Feedback
- Information Libraries
- Integrated Systems
- Networking
- Servers
- Storage
- Other HPE Sites
- Support Center
- Aruba Airheads Community
- Enterprise.nxt
- HPE Dev Community
- Cloud28+ Community
- Marketplace
-
Forums
-
Blogs
-
Information
-
English
- 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
- Email to a Friend
- Report Inappropriate Content
07-25-2019 08:34 AM
07-25-2019 08:34 AM
Changing multiple ILO password on Proliant servers
Can multiple ILO passwords get changed within HPOneView? Can it be done with XML or a powershell script?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
07-26-2019 02:01 AM
07-26-2019 02:01 AM
Re: Changing multiple ILO password on Proliant servers
You can manage the iLO users with a server profile template. You change the administrator account, add more local accounts, connect to LDAP/AD and set up LDAP/AD groups with various access levels. Is that what you were after?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
07-26-2019 04:11 AM
07-26-2019 04:11 AM
Re: Changing multiple ILO password on Proliant servers
I was really wanting some kind of script because I don't have OneView license for all my servers
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
07-26-2019 08:42 AM
07-26-2019 08:42 AM
Re: Changing multiple ILO password on Proliant servers
Well, not from one place, but from each host, you can use hponcfg to change user password in iLO. hponcfg is available for both Linux, Windows, and ESXi.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
07-26-2019 09:45 AM
07-26-2019 09:45 AM
Re: Changing multiple ILO password on Proliant servers
I have almost 400 Servers I really don't want to chance each host manually
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
07-29-2019 01:38 AM
07-29-2019 01:38 AM
Re: Changing multiple ILO password on Proliant servers
Do you have salt or ansible setup on your servers? If so, you can use that to run hponcfg on each server from a central location. You would have to consult with HPE. I'm not sure you need licensed mode to change iLO passwords, but you might? Note with hponcfg, if your iLO is running in production mode, then you can run it from the root account without having to know the current iLO administrator password. If your iLO is one of the higher security modes, then you will need to know the current iLO administrator password.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
08-14-2019 12:29 PM
08-14-2019 12:29 PM
Re: Changing multiple ILO password on Proliant servers
Import-Module HPEiLoCmdlets
$iLo_Inventory_File = "iLo-Inventory.txt"
$Results_File = "pswd-change-results.txt"
IF (Test-Path $Results_File)
{ Remove-Item $Results_File }
$Target_List = Get-Content $iLo_Inventory_File
ForEach ($Target_iLo in $Target_List)
{
$Connected_iLo = Connect-HPEiLO -IP $Target_iLo -Username 'localAdminIDgoeshere' -Password 'pswdgoeshere' -DisableCertificateAuthentication
IF ($Connected_iLo -eq $null) # -ErrorAction Stop was not capturing this situation!
{
$Text_Line = $Target_iLo + ';DID NOT ACCEPT THE CONNECTION REQUEST'
Out-File -FilePath $Results_File -Encoding ascii -InputObject $Text_Line -Append
Continue
}
$Result1 = Set-HPEiLoUser -Connection $Connected_iLo -LoginName TargetID -NewPassword "newPSWDhere" `
-OutputType Object -ErrorAction Stop
$Text_Line = $Target_iLo + ';' + $Result1.Hostname + ';' + $Result1.Status + ';' + $Result1.StatusInfo.Message + ';' + $Result1.StatusInfo.AffectedAttribute
Out-File -FilePath $Results_File -Encoding ascii -InputObject $Text_Line -Append
Write-Host $Text_Line -ForegroundColor Cyan
$null = Disconnect-HPEiLO -Connection $Connected_iLo
}
Write-Host "Execution has completed. Please press ENTER to exit the script" -ForegroundColor DarkYellow
Read-Host
Hewlett Packard Enterprise International
- Communities
- HPE Blogs and Forum
© Copyright 2021 Hewlett Packard Enterprise Development LP