-
Notifications
You must be signed in to change notification settings - Fork 52
Update HPOVServerHardwareLicenseIntent
Change the license intent of a server.
Update-HPOVServerHardwareLicenseIntent [-InputObject] <Object> [[-Async] <SwitchParameter>] [[-ApplianceConnection] <Object>] [<CommonParameters>]
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.
-ApplianceConnection <Object>
Specify one or more [HPOneView.Appliance.Connection] object(s) or Name property value(s).
Default Value: ${Global:ConnectedSessions} | ? Default
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-HPOVServer.
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)
HPOneView.ServerHardware [System.Management.Automation.PSCustomObject]
A server hardware resource from Get-HPOVServer.
HPOneView.Appliance.TaskResource [System.Management.Automation.PSCustomObject]
Async task Resource object for configuring port monitoring on the requested logical intercinnect.
null
If the resource is already assigned a valid upgraded license, a null response is returned.
-------------------------- EXAMPLE 1 --------------------------$Server = Get-HPOVServer -Name iLO123.domain.com -ErrorAction Stop Update-HPOVServerHardwareLicenseIntent -InputObject $Server
Get the specific server resource, and attempt upgrading the license to "OneView".
-------------------------- EXAMPLE 2 --------------------------$Servers = Get-HPOVServer | ? licensingIntent -eq "OneViewNoIlo" $Tasks = $Servers | Update-HPOVServerHardwareLicenseIntent -async
Get server resources with "OneViewNoIlo" license, and attempt upgrading the license to "OneView".
Change the license intent of a server.
Update-HPOVServerHardwareLicenseIntent [-InputObject] <Object> [[-Async] <SwitchParameter>] [[-ApplianceConnection] <Object>] [<CommonParameters>]
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.
-ApplianceConnection <Object>
Aliases [-Appliance]
Specify one or more HPOneView.Appliance.Connection object(s) or Name property value(s).
Default Value: ${Global:ConnectedSessions} | ? Default
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-HPOVServer.
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)
HPOneView.ServerHardware [System.Management.Automation.PSCustomObject]
A server hardware resource from Get-HPOVServer.
HPOneView.Appliance.TaskResource [System.Management.Automation.PSCustomObject]
Async task Resource object for configuring port monitoring on the requested logical intercinnect.
null
If the resource is already assigned a valid upgraded license, a null response is returned.
-------------------------- EXAMPLE 1 --------------------------$Server = Get-HPOVServer -Name iLO123.domain.com -ErrorAction Stop Update-HPOVServerHardwareLicenseIntent -InputObject $Server
Get the specific server resource, and attempt upgrading the license to "OneView".
-------------------------- EXAMPLE 2 --------------------------$Servers = Get-HPOVServer | ? licensingIntent -eq "OneViewNoIlo" $Tasks = $Servers | Update-HPOVServerHardwareLicenseIntent -async
Get server resources with "OneViewNoIlo" license, and attempt upgrading the license to "OneView".
Change the license intent of a server.
Update-HPOVServerHardwareLicenseIntent [-InputObject] <Object> [[-Async] <SwitchParameter>] [[-ApplianceConnection] <Object>] [<CommonParameters>]
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.
-ApplianceConnection <Object>
Aliases [-Appliance]
Specify one or more HPOneView.Appliance.Connection object(s) or Name property value(s).
Default Value: ${Global:ConnectedSessions} | ? Default
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-HPOVServer.
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)
HPOneView.ServerHardware [System.Management.Automation.PSCustomObject]
A server hardware resource from Get-HPOVServer.
HPOneView.Appliance.TaskResource [System.Management.Automation.PSCustomObject]
Asyncronous task resource to monitor.
null
If the resource is already assigned a valid upgraded license, a null response is returned.
-------------------------- EXAMPLE 1 --------------------------$Server = Get-HPOVServer -Name iLO123.domain.com -ErrorAction Stop Update-HPOVServerHardwareLicenseIntent -InputObject $Server
Get the specific server resource, and attempt upgrading the license to "OneView".
-------------------------- EXAMPLE 2 --------------------------$Servers = Get-HPOVServer | ? licensingIntent -eq "OneViewNoIlo" $Tasks = $Servers | Update-HPOVServerHardwareLicenseIntent -async
Get server resources with "OneViewNoIlo" license, and attempt upgrading the license to "OneView".