- Community Home
- >
- Servers and Operating Systems
- >
- HPE ProLiant
- >
- Server Management - Remote Server Management
- >
- Re: How to deactivate iLO license via powershell?
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
Forums
Discussions
Discussions
Discussions
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
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
12-12-2018 01:01 PM
12-12-2018 01:01 PM
How to deactivate iLO license via powershell?
So the set-hpeilolicense does say it can be used to activate or deactivate the license. But as you are required to enter a key, is there a specific key you can use to deactivate the license?
I know I could use a XML command and the older invoke-hpiloribclcommand but I am trying to do this in more pure powershell.
Trying to remove some licenses so OneView can apply the license from there.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-13-2018 02:43 AM
12-13-2018 02:43 AM
Re: How to deactivate iLO license via powershell?
Hi,
Correct way of removing license is to assign empty strings for the Set-HPEiLOLicense -Key parameter. But due to a bug you can't assign empty string or null at present but it will be fixed in next release.
Workaround is you can set the iLO to factory settings which will bring back the system to standard license state. But factory settings will wipe out the iLO configurations which you need to bring it back later.
Thanks,
Gokul
I am a HPE Employee
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-22-2019 08:07 AM
01-22-2019 08:07 AM
Re: How to deactivate iLO license via powershell?
Another workaround is to have an old version of HPIloCmdlets (1.5.0.0 for example) where you can invoke an XML file that has the "Deactivate" command inside of it.
The new versions of HPEILOCmdlets dont' support the invoke-XML method anymore, but that's why I have an old version always installed as well. The XML invoking is very handy sometimes.