Summary
Retrieves the latest firmware version available for the connected dock
Syntax
CheckSet:
Get-HPDockFirmwareUpdate [[-DockModel <String>] [-Check] [<CommonParameters>]
DownloadSet
Get-HPDockFirmwareUpdate [[-DockModel] <String>] [-Download] [[-SaveAs] <String>] [<CommonParameters>]
Description
This command retrieves the latest firmware version available for the connected dock. Please note that this command only supports one dock at a time.
Parameters
| Name | Argument | Description |
|---|---|---|
| Check | <SwitchParameter> | If specified, the command will return $True if the currently installed firwmare version is the latest, and $False if not. Cannot be used wtih Download parameter. The command will error out if DockModel parameter specifies a dock that is not currently connected. |
| DockModel | <String> | Specifies the dock model to retrieve dock firmware update for instead of the currently connected dock. |
| Download | <SwitchParameter> | If specified, this command will download the dock firmware update SoftPaq to the current path specified by the -SaveAs parameter. Cannot be used with Check parameter. The command will overwrite the file if it already exists. |
| SaveAs | <String> | Specifies the location and/or file name for the downloaded dock firmware update SoftPaq. Can be a file name (e.g., 'update.exe'), a directory path (e.g., 'C:\Downloads'), or a full file path (e.g., 'C:\Downloads\update.exe'). If file name is not specified, the remote file name will be used in the current directory. |
Examples
PS C:\> Get-HPDockFirmwareUpdate -Download -SaveAs "C:\path\update.exe"
PS C:\> Get-HPDockFirmwareUpdate -DockModel "HPThunderbolt4Ultra280WG6Dock"
PS C:\> Get-HPDockFirmwareUpdate -Check