-
Notifications
You must be signed in to change notification settings - Fork 52
Install HPOVUpdate
Install or stage an appliance update.
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>]
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: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)
None. You cannot pipe objects to this cmdlet.
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
-------------------------- 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.
Install or stage an appliance update.
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>]
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: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)
None. You cannot pipe objects to this cmdlet.
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
-------------------------- 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.