Install HPOVUpdate - HewlettPackard/POSH-HPEOneView GitHub Wiki

HPE OneView 4.10 Library

Install-HPOVUpdate

Install or stage an appliance update.

SYNTAX

Install-HPOVUpdate [-File] <String> [-Eula] <String>[ [-DisplayReleaseNotes] <SwitchParameter>] [-ApplianceConnection] <Object>[ [-WhatIf] <SwitchParameter>][ [-Confirm] <SwitchParameter>] [<CommonParameters>]
Install-HPOVUpdate [-File] <String>[ [-Stage] <SwitchParameter>][ [-DisplayReleaseNotes] <SwitchParameter>] [-ApplianceConnection] <Object>[ [-WhatIf] <SwitchParameter>][ [-Confirm] <SwitchParameter>] [<CommonParameters>]
Install-HPOVUpdate[ [-InstallNow] <SwitchParameter>] [-Eula] <String> [-ApplianceConnection] <Object>[ [-WhatIf] <SwitchParameter>][ [-Confirm] <SwitchParameter>] [<CommonParameters>]
Install-HPOVUpdate[ [-ListPending] <SwitchParameter>][ [-DisplayReleaseNotes] <SwitchParameter>] [-ApplianceConnection] <Object>[ [-WhatIf] <SwitchParameter>][ [-Confirm] <SwitchParameter>] [<CommonParameters>]

Detailed Description

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

Parameters

-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? true
Position? named
Default value (${Global:ConnectedSessions} | ? Default)
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters?    False

-Confirm <SwitchParameter>

Aliases cf
Required? false
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

-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

-File <String>

Aliases [-f] Appliance Update file to install.

Aliases f
Required? true
Position? named
Default value
Accept pipeline input? true (ByValue)
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>

Aliases [-list] 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

-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

-WhatIf <SwitchParameter>

Aliases wi
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

Write-Progress

Will display a progress bar indicating the Appliance Update status

System.Collections.ArrayList (System.Management.Automation.PSCustomObject)

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

Examples

 -------------------------- EXAMPLE 1 --------------------------

Install-HPOVUpdate -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-HPOVUpdate -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-HPOVUpdate -file C:\Path\update.bin -Stage Install-HPOVUpdate -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-HPOVUpdate -ListPending -DisplayReleaseNotes

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

Related Links


Top

HPE OneView 4.00 Library

Install-HPOVUpdate

Install or stage an appliance update.

SYNTAX

Install-HPOVUpdate [-File] <String> [-Eula] <String>[ [-DisplayReleaseNotes] <SwitchParameter>] [-ApplianceConnection] <Object>[ [-WhatIf] <SwitchParameter>][ [-Confirm] <SwitchParameter>] [<CommonParameters>]
Install-HPOVUpdate [-File] <String>[ [-Stage] <SwitchParameter>][ [-DisplayReleaseNotes] <SwitchParameter>] [-ApplianceConnection] <Object>[ [-WhatIf] <SwitchParameter>][ [-Confirm] <SwitchParameter>] [<CommonParameters>]
Install-HPOVUpdate[ [-InstallNow] <SwitchParameter>] [-Eula] <String> [-ApplianceConnection] <Object>[ [-WhatIf] <SwitchParameter>][ [-Confirm] <SwitchParameter>] [<CommonParameters>]
Install-HPOVUpdate[ [-ListPending] <SwitchParameter>][ [-DisplayReleaseNotes] <SwitchParameter>] [-ApplianceConnection] <Object>[ [-WhatIf] <SwitchParameter>][ [-Confirm] <SwitchParameter>] [<CommonParameters>]

Detailed Description

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

Parameters

-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? true
Position? named
Default value (${Global:ConnectedSessions} | ? Default)
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters?    False

-Confirm <SwitchParameter>

Aliases cf
Required? false
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

-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

-File <String>

Aliases [-f] Appliance Update file to install.

Aliases f
Required? true
Position? named
Default value
Accept pipeline input? true (ByValue)
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>

Aliases [-list] 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

-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

-WhatIf <SwitchParameter>

Aliases wi
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

Write-Progress

Will display a progress bar indicating the Appliance Update status

System.Collections.ArrayList (System.Management.Automation.PSCustomObject)

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

Examples

 -------------------------- EXAMPLE 1 --------------------------

Install-HPOVUpdate -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-HPOVUpdate -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-HPOVUpdate -file C:\Path\update.bin -Stage Install-HPOVUpdate -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-HPOVUpdate -ListPending -DisplayReleaseNotes

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

Related Links


Top
⚠️ **GitHub.com Fallback** ⚠️