Open navigation

Update-TPHubFirmware

Description

Syntax

Example 1

Example 2



Description

Updates the firmware. See also Downloading and installing a firmware update.
After updating via PowerShell you have to switch to the new version of the module TPHubPS.dll.

Note! Carry out a precautionary backup beforehand; see Backup and Restore or Export-TPHubBackup.


Syntax

Update-TPHubFirmware -Path <string> [-Proxy <string>] Update-TPHubFirmware -Url <uri> [-Proxy <string>]
ParameterDescription
-Pathlocal path to .tgz file with the new version of the firmware (the numbers in the file name indicate the new and the old versions); refers to Update Firmware in the web console
-Urlhttps://www.thinprint.com/hubupdate = URL of a ThinPrint server to the new ver­sion of the firmware; refers to Download Firmware in the web console (from firm­ware version 1.1)
-Proxy

• optional (from firmware version 1.1): proxy server address

• can also be specified globally using Set-TPHubProxy

Note! For updates of firmware versions 1.2.23 to 1.3.11, use the TPHubPS.Update.dll module instead of TPHubPS.dll.


Example 1

The following example shows a step-by-step firmware update after a factory reset of a Hub of hardware version 1.0.

# Determining the current firmware version (without Get-TPHubVersions) [System.Net.ServicePointManager]::ServerCertificateValidationCallback = {$true} 
(New-Object System.Net.WebClient).downloadstring("https://192.168.178.36/api/version/getconfig") | ConvertFrom-Json 

# Update from version 1.0.51 to 1.2.25 
Update-TPHubFirmware -Path "C:\install\ThinPrint\firmware-update-1.0.51-1.2.25.tgz" 

# Update from version 1.2.25 to 1.10.34 
Get-TPHubAuthentication -PlainPassword print4life 
Update-TPHubFirmware -Path "C:\install\ThinPrint\firmware-update-1.2.25-1.10.34.tgz" 

# Update from Version 1.10.34 to the current version 
Get-TPHubAuthentication -PlainPassword print4life 
Update-TPHubFirmware -Path "C:\install\ThinPrint\firmware-update-1.2.25-1.16.98.tgz" 

# Determining the current firmware version 
Get-TPHubAuthentication -PlainPassword print4life 
Get-TPHubVersions

ThinPrint Hub's PowerShell cmdlet Update-TPHubFirmware


Example 2

Update-TPHubFirmware -Url "https://www.thinprint.com/hubupdate"


Did you find it helpful? Yes No

Send feedback
Sorry we couldn't be helpful. Help us improve this article with your feedback.