Update-OVServerHardwareLicenseIntent
Syntax
Update-OVServerHardwareLicenseIntent
[-InputObject] <Object>
[-Async]
[-ApplianceConnection <Object>]
[<CommonParameters>]
Description
The licensing intent of a server may be changed to either "OneView" (HPE OneView Advanced) or "OneViewNoiLO" (HPE OneView Advanced w/o iLO). The server must be unlicensed and managed in order to be able to update the licensing intent. In addition, a server licensed with "OneViewNoiLO" may be upgraded to "OneView", provided a "OneView" license is available and the server does not already have an embedded or "iLO Advanced" license installed.
Examples
Example 1
$Server = Get-OVServer -Name iLO123.domain.com -ErrorAction Stop
Update-OVServerHardwareLicenseIntent -InputObject $Server
Get the specific server resource, and attempt upgrading the license to "OneView".
Example 2
$Servers = Get-OVServer | ? licensingIntent -eq "OneViewNoIlo"
$Tasks = $Servers | Update-OVServerHardwareLicenseIntent -async
Get server resources with "OneViewNoIlo" license, and attempt upgrading the license to "OneView".
Parameters
-ApplianceConnection <Object>
Specify one or more [HPEOneView.Appliance.Connection] object(s) or Name property value(s).
| Aliases | Appliance |
|---|---|
| Required? | False |
| Position? | Named |
| Default value | (${Global:ConnectedSessions} | ? Default) |
| Accept pipeline input? | true (ByPropertyName) |
| Accept wildcard characters? | False |
-Async <SwitchParameter>
Use this parameter to immediately return the async task. By default, the Cmdlet will wait for the task to complete.
| Aliases | None |
|---|---|
| Required? | False |
| Position? | Named |
| Default value | False |
| Accept pipeline input? | false |
| Accept wildcard characters? | False |
-InputObject <Object>
A server hardware resource from Get-OVServer.
| Aliases | name, Server |
|---|---|
| Required? | True |
| Position? | Named |
| Default value | |
| Accept pipeline input? | true (ByValue) |
| Accept wildcard characters? | False |
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, WarningVariable, OutBuffer, PipelineVariable, and OutVariable. For more information, see about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216)
Input Types
A server hardware resource from Get-OVServer.
Return Values
Async task Resource object for configuring port monitoring on the requested logical intercinnect.
If the resource is already assigned a valid upgraded license, a null response is returned.