I have a TimeSpan PowerShell object and need to display it in a PRTG Custom Sensor Channel - do you have any examples that will format it whether the span contains days, hours and minutes or just minutes?
Article Comments
Attention: This article is a record of a conversation with the Paessler support team. The information in this conversation is not updated to preserve the historical record. As a result, some of the information or recommendations in this conversation might be out of date.
Output the timespan in seconds and use the unit seconds; PRTG will then automatically convert it to minutes, hours, days, etc :)
Apr, 2022 - Permalink