You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Compare-PrtgTree: provides a PowerShell friendly way of comparing and reducing PrtgNode objects, as well as specifying the types of comparisons to include/exclude
Improvements
General
FlagEnum types now properly flatten the list of values specified to their constructor, rather than assuming none of the specified values contain flags
FlagEnum types now properly merge negative flags with negative flags passed to them. If only negative flags are specified, all flags but those specified will be included
Added complement operator ~ to FlagEnum
Add support for comparing/printing the values of PropertyValuePair objects contained in PropertyNode objects
PrtgNode comparisons now take into consideration whether their positions under their parents have changed
PrtgNode children are now automatically sorted according to their position
PrtgNode.CompareTo() now allows specifying the comparisons to include/exclude
Added a Node member to PrettyLine objects. Stores the TreeNode the line is represents
PowerShell
Add -Reduce parameter to Show-PrtgTree. Pretty prints a reduced CompareNode tree (equivalent $tree.Reduce() | Show-PrtgTree)
Fixed incorrect grammar in Get-SensorHistory PowerShell progress
Added custom table format for PropertyNode objects for displaying the underlying value
Bugfixes
General
Include TLS 1.2 in allowed security protocols on older versions of .NET Framework for compatibility with PRTG 20.1.55 (#128)
Fixed an issue wherein GetSensorHistory incorrectly assigned the same raw value to multiple channels when multiple objects exist with the same channel ID (such as the volume and speed channels of Traffic Sensors)
Fix CompareNode reduction not detecting differences that are only visible on grandchildren, resulting in trees potentially failing to be reduced at all
Fix data KB/MB/GB/TB data units failing to deserialize on Notification Triggers in PRTG 20.1.55
PowerShell
Fixed Get-SensorHistory not parsing byte display values properly (#124)
Fixed Get-SensorHistory converting values over 1000 to decimals when the last 3 digits of the display value match the decimal places of the raw value, rounded up (#125)
Fixed missing setter on Get-PrtgTree-Options parameter
Fix progress not being displayed with tree cmdlets like Get-PrtgTree when values outside of TreeParseOption.Common are specified