< Back

Uninstall-GoPrtgServer

Sun Jan 19, 2020 5:45 pm

NAME Uninstall-GoPrtgServer



SYNOPSIS

Uninstalls one or more GoPrtg servers from the current PowerShell Profile.





SYNTAX

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



Uninstall-GoPrtgServer -Force <SwitchParameter> [<CommonParameters>]





DESCRIPTION

The Uninstall-GoPrtgServer cmdlet uninstalls one or more GoPrtg servers from the current PowerShell Profile. If a

single GoPrtg server exists in your PowerShell Profile, invoking Uninstall-GoPrtgServer with no arguments will

automatically install your single server. Otherwise, a -Server wildcard expression must be specified matching one

or more servers or aliases to remove. Alternatively, you may specify the -Force parameter to automatically remove

all GoPrtg servers.





PARAMETERS

-Server <string>

A wildcard describing the servers to remove. If only one GoPrtg server exists, this parameter can be omitted.



Required? false

Position? 0

Default value

Accept pipeline input? false

Accept wildcard characters? false



-Force <SwitchParameter>

Specifies that all GoPrtg servers should be removed.



Required? true

Position? named

Default value False

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:\\> Uninstall-GoPrtgServer *dev*



Uninstalls all GoPrtg servers whose name or alias contains "dev".



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



C:\\> Uninstall-GoPrtgServer -Force



Uninstalls all GoPrtg servers.



RELATED LINKS

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

Connect-GoPrtgServer

Get-GoPrtgServer

Install-GoPrtgServer

Set-GoPrtgAlias

Update-GoPrtgCredential





CommonParameters : True

WorkflowCommonParameters : False

details : @{name=New-Credential; noun=; verb=}

Syntax : @{syntaxItem=System.Object[]}

parameters : @{parameter=System.Object[]}

inputTypes : @{inputType=}

returnValues : @{returnValue=}

aliases : None



remarks : None

alertSet :

description :

examples :

Synopsis :

New-Credential [-UserName] <string> [[-Password] <string>] [<CommonParameters>]



ModuleName : PrtgAPI

nonTerminatingErrors :

xmlns:command : http://schemas.microsoft.com/maml/dev/command/2004/10

xmlns:dev : http://schemas.microsoft.com/maml/dev/2004/10

xmlns:maml : http://schemas.microsoft.com/maml/2004/10

Name : New-Credential

Category : Function

Component :

Role :

Functionality :