Improvements
- Implement support for modifying and retrieving
ObjectProperty.PrimaryChannel
Set-ObjectProperty
will resolve the-PrimaryChannel
for you based on a wildcard expression that can be specified
Bugfixes
- Fix
ConvertUtilities.ToDynamicDouble
inGet-SensorHistory
crashing when a display value containing a decimal point with more than 3 decimal places is passed in but with a raw value whose value is an integer (#223) - Fix Threshold not being set to
double?
inNotificationTriggerData
used when deserializing triggers running on non-English versions of PRTG (#230) - Fix PrtgAPI PowerShell progress not being completed properly when an exception is thrown during an
EndProcessing
block (such as when-Batch:$true
) or whenErrorActionPreference = "Stop"
in any stage - Fix sensor factory channel definitions set by PrtgAPI corrupting the PRTG Configuration file in older versions of PRTG due to
\r\n
separating newlines being expected rather than simply\n
- Fix colon dates on
SystemInfo
objects sometimes being an error string rather than null or empty (#237) - Fix
Get-SensorHistory
not taking into consideration channel scaling multiplication and division values when figuring numeric display value from unknown culture viaConvertUtilities.ToDynamicDouble
(#241) - Fix
Get-SensorHistory
failing to retry creating format XML after an exception previously occurred during the first generation attempt - Fix pipe from variable progress crashing due to
ArrayEnumerator
changes in PowerShell Core 7.2.0 (#252) - Fix
Channel.Unit
not setting properly when channel does not contain acustomunit
field at all - Fix
GetObjectProperty
XML sanitization not working properly on multiline strings (#262) - Fix API requests that rely on cookie authentication failing in 22.1.74+ (#268)