I have a sensor(EXE/script) that runs a powershell script. This script formats some XML into quite some data and outputs it to PRTG with the Write-Host cmdlet.
When I include the output in one of the generated mails with the %lastmessage placeholder the message gets cut down to 255 chars. This is troublesome because I need a still picture of how the XML looks at the time the script is called.
So my question is: Is there some way I can get the entire output from a script into a PRTG-mail?
Thanks in advance!
Kind regards Jens