Skip to content

Install-OVUpdate

Syntax

Install-OVUpdate
    [-File] <String>
    [-Eula] <String>
    [-DisplayReleaseNotes]
    [-ApplianceConnection] <Object>
    [<CommonParameters>]
Install-OVUpdate
    [-File] <String>
    [-Stage]
    [-DisplayReleaseNotes]
    [-ApplianceConnection] <Object>
    [<CommonParameters>]
Install-OVUpdate
    [-InstallNow]
    [-Eula] <String>
    [-ApplianceConnection] <Object>
    [<CommonParameters>]
Install-OVUpdate
    [-ListPending]
    [-DisplayReleaseNotes]
    [-ApplianceConnection] <Object>
    [<CommonParameters>]

Description

The Install-OVUpdate installs an appliance update package to upgrade the platform to the specified version. Use the -Stage switch to stage an update on the appliance.

Examples

Example 1

Install-OVUpdate -file C:\Path\update.bin

Install the [Update.bin] package to the appliance. User will be prompted to accept the upgrade EULA, and if a reboot is required also be prompted to confirm.

Example 2

Install-OVUpdate -file C:\Path\update.bin -Stage -DisplayReleaseNotes

Stage the update on the appliance, and display the Release Notes to the PowerShell console.

Example 3

Install-OVUpdate -file C:\Path\update.bin -Stage
Install-OVUpdate -EULA Accept -InstallNow

Stage the [Update.bin] package to the appliance. After update has been staged, install the update now on specified appliance.

Example 4

Install-OVUpdate -ListPending -DisplayReleaseNotes

List a pending, staged updates on the appliance, then display the Release Notes to the PowerShell console.

Parameters

-File <String>

Appliance Update file to install.

Aliases f
Required? True
Position? Named
Default value
Accept pipeline input? true (ByValue)
Accept wildcard characters? False

-Eula <String>

Will display EULA if no value is provided. Pass "accept" to accept and not display EULA.

Aliases None
Required? True
Position? Named
Default value
Accept pipeline input? false
Accept wildcard characters? False

-DisplayReleaseNotes <SwitchParameter>

Display Release Notes of Update

Aliases None
Required? False
Position? Named
Default value False
Accept pipeline input? false
Accept wildcard characters? False

-Stage <SwitchParameter>

Used to upload update to appliance and not apply update.

Aliases None
Required? False
Position? Named
Default value False
Accept pipeline input? false
Accept wildcard characters? False

-InstallNow <SwitchParameter>

Install pending update that was previously staged.

Aliases None
Required? False
Position? Named
Default value False
Accept pipeline input? false
Accept wildcard characters? False

-ListPending <SwitchParameter>

List any pending updates on the appliance that might have been staged.

Aliases list
Required? False
Position? Named
Default value False
Accept pipeline input? false
Accept wildcard characters? False

-ApplianceConnection <Object>

Specify one or more [HPEOneView.Appliance.Connection] object(s) or Name property value(s).

Aliases Appliance
Required? True
Position? Named
Default value (${Global:ConnectedSessions} | ? Default)
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? False

-WhatIf <SwitchParameter>

Aliases wi
Required? False
Position? Named
Default value
Accept pipeline input? false
Accept wildcard characters? False

-Confirm <SwitchParameter>

Aliases cf
Required? False
Position? Named
Default value
Accept pipeline input? false
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

None. You cannot pipe objects to this Cmdlet.

Return Values

Will display a progress bar indicating the Appliance Update status

When performing stage and install (no switch options provided), the return will include the uploaded patch information from the appliance, and the completed upgrade message