New Features
- PS: Implemented new GoPrtg server system. Instead of storing a single server in your PowerShell profile, multiple servers can be stored, each with an individual alias.
New Methods
- C#: Implemented missing several missing async methods:
AcknowledgeSensorAsync
,SimulateErrorAsync
,RefreshObjectAsync
,AutoDiscoverAsync
andSetObjectPropertyAsync
- C#: Implemented
SortAlphabetically
: sort the children of the specified object alphabetically - C#: Implemented
SetPosition
overload: allows specifying an absolute position, instead of a move direction
New Cmdlets
Clone-Sensor
,Clone-Device
,Clone-Group
: Clone an object within PRTGMove-Object
: move a device or group to another probe or groupSet-ObjectPosition
: Set the position of an object under its parentSort-PrtgObject
: Sort the children of a PRTG object alphabeticallyStart-AutoDiscovery
: Initiate an auto-discovery operation on a specified deviceInstall-GoPrtgServer
: Install a new GoPrtg server into your PowerShell profileUninstall-GoPrtgServer
: remove the activate GoPrtg server from your PowerShell profileGet-GoPrtgServer
: List all GoPrtg servers stored in your profileSet-GoPrtgAlias
: Set the alias of the currently active GoPrtg serverConnect-GoPrtgServer
: connect to the specified GoPrtg server. Alias:GoPrtg
Improvements
- PS:
Get-Channel
now has two parameter sets. Channels can be retrieved bySensor
or bySensorId
Bugfixes
- PS: Fixed a bug in
Acknowledge-Sensor
andPause-Sensor
wherein when theTimeSpan
to theDateTime
specified to-Until
is less than 1 minute, the object is acknowledged or paused indefinitely
Breaking Changes
- PS: Replaced
Install-GoPrtgAlias
/Uninstall-GoPrtgAlias
with newInstall-GoPrtgServer
/Uninstall-GoPrtgServer
methods - C#: Renamed method
CheckNow
toRefreshObject