Description
Changes the system password (see Get-TPHubAuthentication and System)
Syntax
Set-TPHubPassword -CurrentPassword <string> -NewPassword <string> -ConfirmPassword <string>
-CurrentPasswordSecure <variable1> -NewPasswordSecure <variable2> -ConfirmPasswordSecure <variable2> [-Proxy <string>]
Parameter | Description |
-CurrentPassword | • current (plain) password • alternative to -CurrentPasswordSecure |
-NewPassword | • new (plain) password (minimum 8 characters) • together with -CurrentPassword |
-ConfirmPassword | • re-enter new (plain) password • together with -CurrentPassword |
-CurrentPasswordSecure | • current SecureString version of the password • alternative to -CurrentPassword |
-NewPasswordSecure | • new SecureString password • together with -CurrentPasswordSecure |
-ConfirmPasswordSecure | • re-enter new SecureString password • together with -CurrentPasswordSecure |
-Proxy | • optional (from firmware version 1.1): proxy server address • can also be specified globally using Set-TPHubProxy |
Example
Set-TPHubPassword -CurrentPassword "print4life" -NewPassword "12345678" -ConfirmPassword "12345678"
Get-TPHubAuthentication -PlainPassword 12345678
Changing password from print4life to 12345678: