-
Notifications
You must be signed in to change notification settings - Fork 52
Install HPOVUpdate
## 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 [-Eula] <String>[ [-InstallNow] <SwitchParameter>][ [-WhatIf] <SwitchParameter>][ [-Confirm] <SwitchParameter>] [<CommonParameters>]
Install-HPOVUpdate[ [-ListPending] <SwitchParameter>][ [-DisplayReleaseNotes] <SwitchParameter>] [-ApplianceConnection] <Object>[ [-WhatIf] <SwitchParameter>][ [-Confirm] <SwitchParameter>] [<CommonParameters>]
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.
-ApplianceConnection <Object>
Aliases [-Appliance]
Specify one or more HPOneView.Appliance.Connection object(s) or Name property value(s).
Default Value: ${Global:ConnectSessions} | ? Default
Aliases | cf |
Required? | true |
Position? | named |
Default value | (${Global:ConnectedSessions} | ? Default) |
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 |
-DisplayReleaseNotes <SwitchParameter>
Display Release Notes of Update
Aliases | cf |
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 | cf |
Required? | true |
Position? | 0 |
Default value | |
Accept pipeline input? | false |
Accept wildcard characters? | False |
-File <String>
Aliases [-f] Appliance Update file to install.
Aliases | cf |
Required? | true |
Position? | 0 |
Default value | |
Accept pipeline input? | false |
Accept wildcard characters? | False |
-InstallNow <SwitchParameter>
Install pending update that was previously staged.
Aliases | cf |
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 | cf |
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 | cf |
Required? | false |
Position? | named |
Default value | False |
Accept pipeline input? | false |
Accept wildcard characters? | False |
-WhatIf <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
Write-Progress
Will display a progress bar indicating the Appliance Update status.
_**System.Array (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 --------------------------PS C:\> 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 --------------------------PS C:\> 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 --------------------------PS C:\> Install-HPOVUpdate -file C:\Path\update.bin -Stage PS C:\> 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 --------------------------PS C:\> Install-HPOVUpdate -ListPending -DisplayReleaseNotes
List a pending, staged updates on the appliance, then display the Release Notes to the PowerShell console.
- [Get-HPOVPendingUpdate] (/~https://github.com/HewlettPackard/POSH-HPOneView/wiki/Get-HPOVPendingUpdate)
- [Remove-HPOVPendingUpdate] (/~https://github.com/HewlettPackard/POSH-HPOneView/wiki/Remove-HPOVPendingUpdate)
## Install-HPOVUpdate
Install or stage an appliance update. ### SYNTAX
Install-HPOVUpdate [-File] <File>[ [-Eula] <Eula>][ [-DisplayReleaseNotes] <DisplayReleaseNotes>][ [-WhatIf] <WhatIf>][ [-Confirm] <Confirm>] [<CommonParameters>]
Install-HPOVUpdate [-File] <File>[ [-DisplayReleaseNotes] <DisplayReleaseNotes>] [-Stage] <Stage>[ [-WhatIf] <WhatIf>][ [-Confirm] <Confirm>] [<CommonParameters>]
Install-HPOVUpdate[ [-Eula] <Eula>] [-InstallNow] <InstallNow>[ [-WhatIf] <WhatIf>][ [-Confirm] <Confirm>] [<CommonParameters>]
Install-HPOVUpdate[ [-DisplayReleaseNotes] <DisplayReleaseNotes>] [-ListPending] <ListPending>[ [-WhatIf] <WhatIf>][ [-Confirm] <Confirm>] [<CommonParameters>]
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.
-File <File>
Aliases [-f] Appliance Update file to install.
Aliases | |
Required? | true |
Position? | named |
Default value | |
Accept pipeline input? | false |
Accept wildcard characters? | false |
-Eula <Eula>
Will display EULA if no value is provided. Pass 'accept' to accept and not display EULA.
Aliases | |
Required? | false |
Position? | named |
Default value | |
Accept pipeline input? | false |
Accept wildcard characters? | false |
-DisplayReleaseNotes <DisplayReleaseNotes>
Display Release Notes of Update
Aliases | |
Required? | false |
Position? | named |
Default value | False |
Accept pipeline input? | false |
Accept wildcard characters? | false |
-Stage <Stage>
Used to upload update to appliance and not apply update.
Aliases | |
Required? | true |
Position? | named |
Default value | False |
Accept pipeline input? | false |
Accept wildcard characters? | false |
-InstallNow <InstallNow>
Install pending update that was previously staged.
Aliases | |
Required? | true |
Position? | named |
Default value | False |
Accept pipeline input? | false |
Accept wildcard characters? | false |
-ListPending <ListPending>
Aliases [-list] List any pending updates on the appliance that might have been staged.
Aliases | |
Required? | true |
Position? | named |
Default value | False |
Accept pipeline input? | false |
Accept wildcard characters? | false |
-WhatIf <WhatIf>
Aliases | |
Required? | false |
Position? | named |
Default value | |
Accept pipeline input? | false |
Accept wildcard characters? | false |
-Confirm <Confirm>
Aliases | |
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.Array (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 --------------------------PS C:\> 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 --------------------------PS C:\> 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 --------------------------PS C:\> Install-HPOVUpdate -file C:\Path\update.bin -Stage PS C:\> Install-HPOVUpdate -EULA Accept -InstallNow
Stage the Update.bin package to the appliance. After update has been staged, install the update now.
-------------------------- EXAMPLE 4 --------------------------PS C:\> Install-HPOVUpdate -ListPending -DisplayReleaseNotes
List a pending, staged updates on the appliance, then display the Release Notes to the PowerShell console.
- [Remove-HPOVPendingUpdate] (/~https://github.com/HewlettPackard/POSH-HPOneView/wiki/Remove-HPOVPendingUpdate)