< Back

Update-GoPrtgCredential

Sun Jan 19, 2020 5:45 pm

NAME Update-GoPrtgCredential



SYNOPSIS

Updates the credentials used for the currently active GoPrtg server.





SYNTAX

Update-GoPrtgCredential [[-Credential] <PSCredential>] [<CommonParameters>]





DESCRIPTION

The Update-GoPrtgCredential cmdlet updates the authentication credentials of the currently active GoPrtg Server.

When your PRTG user account password changes, your PassHash can also change too. In this scenario, you can simply

run the Update-GoPrtgCredential cmdlet to re-enter your credentials. Update-GoPrtgCredential will then resolve

your new PassHash and update the details for the currently active record. Alternatively, you may also update the

username of the currently active record, so long as you do not have another record with the same server/username

combination in your current PowerShell Profile.





PARAMETERS

-Credential <PSCredential>

The new credential to use for the currently active GoPrtg server.



Required? false

Position? 0

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 (https:/go.microsoft.com/fwlink/?LinkID=113216).



INPUTS



OUTPUTS



---------- EXAMPLE 1 ----------



C:\\> Update-GoPrtgCredential



Update the credentials of the currently active GoPrtg server.



---------- EXAMPLE 2 ----------



C:\\> Update-GoPrtgCredential (New-Credential prtgadmin prtgadmin)



Update the credentials of the currently active Goprtg server with a specified username and password.



RELATED LINKS

Online version: https://github.com/lordmilko/PrtgAPI/wi ... dification

Connect-GoPrtgServer

Get-GoPrtgServer

Install-GoPrtgServer

Set-GoPrtgAlias

Uninstall-GoPrtgServer