- Community Home
- >
- Software
- >
- HPE OneView
- >
- How to remove HPE OneView Advance license from On...
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
06-01-2023 08:10 AM - last edited on 06-01-2023 08:53 PM by support_s
06-01-2023 08:10 AM - last edited on 06-01-2023 08:53 PM by support_s
HI,
How can I remove a HPE OneView Advance license from OneView with powershell ?
I tried the Remove-OVLicense but not luck. Can somebody maybee give me an example of the syntax they use to remove a specific license.
Thanks
Solved! Go to Solution.
- Tags:
- OneView
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-01-2023 09:11 AM
06-01-2023 09:11 AM
Query: How to remove HPE OneView Advance license from OneView
System recommended content:
1. HPE OneView 7.0 Best Practices Guide for Deployment and Management
Please click on "Thumbs Up/Kudo" icon to give a "Kudo".
Thank you for being a HPE valuable community member.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-01-2023 09:12 AM
06-01-2023 09:12 AM
SolutionExamples are provided in the Cmdlet help by using either Get-Help Remove-OVLicense or Get-Help Remove-OVLicense -Online.
If you have a specifc license you need to remove, you first need to ensure the license is not in use:
# Return licenses looking for a specific license key assigned to a known host
Get-OVLicense | Where-Object { $_.Nodes -contains "MyHost" }
# Return licenses looking for a specific key value
Get-OVLicense | Where-Object { $_.Key -like "AABB CCDD" }
If the key is in use, you cannot remove the license. If it not in use, where the output of Get-OVLicense and the Nodes property is empty/null, you can then pass that license key object to Remove-OVLicense. For example:
# Will return all license keys that are not assigned to any server node
Get-OVLicense | Where-Object { $null -eq $_.Nodes }
[Any personal opinions expressed are mine, and not official statements on behalf of Hewlett Packard Enterprise]

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-06-2023 12:47 PM
06-06-2023 12:47 PM
Re: How to remove HPE OneView Advance license from OneView
I tried and still no luck in removing the unused OneView license. Doest it require a minimum HPEOneview module ? I am currentelly running HPEOneView 6.30.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-07-2023 10:22 AM
06-07-2023 10:22 AM
Re: How to remove HPE OneView Advance license from OneView
I finnaly found my issue. I dint realize that license list started at 0 when I was doing Get-OVlicense comand. After I figured it was ofset by 1 then I was able to select the proper license key and I was able to remove it with the following command example: Remove-OVLicense -InputObject $LicenseKeys[1]
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-07-2023 08:46 PM
06-07-2023 08:46 PM
Re: How to remove HPE OneView Advance license from OneView
Good to know the issue is resolved.
Cheers....
I work at HPE
HPE Support Center offers support for your HPE services and products when and how you need it. Get started with HPE Support Center today.
[Any personal opinions expressed are mine, and not official statements on behalf of Hewlett Packard Enterprise]
