< Back

Get-GoPrtgServer

Sun Jan 19, 2020 5:41 pm

NAME Get-GoPrtgServer



SYNOPSIS

Retrieves GoPrtg connection details from the current PowerShell Profile.





SYNTAX

Get-GoPrtgServer [[-Server] <string>] [<CommonParameters>]





DESCRIPTION

The Get-GoPrtgServer cmdlet retrieves all GoPrtg connections stored in the current PowerShell Profile. Each server

lists its server address, username used for authentication and alias (if applicable). The currently active server

is indicated by an asterisk. If multiple connections are installed, a wildcard expression indicating the server

addresses or aliases to filter for can be specified to limit results.





PARAMETERS

-Server <string>

A wildcard expression describing the address or alias of the servers to retrieve.



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:\\> Get-GoPrtgServer



List all GoPrtg servers installed in the current PowerShell profile.



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



C:\\> Get-GoPrtgServer *dev*



List all GoPrtg servers whose server address or alias contains the word "dev".



RELATED LINKS

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

Connect-GoPrtgServer

Install-GoPrtgServer

Set-GoPrtgAlias

Uninstall-GoPrtgServer

Update-GoPrtgCredential