Closed xasz closed 2 years ago
Hi @xasz,
The issue is you are setting the Tags
value incorrectly
$param.Tags += {"MyTag","A-Nother-Tag"}
If you do $param.Tags
after doing this you will see these two tags have been interpreted by PowerShell as being a single string value with quotes and a comma in it
PS C:\> $param.Tags += {"MyTag","A-Nother-Tag"}
PS C:\> $param.Tags
xmlexesensor
"MyTag","A-Nother-Tag"
The correct way to add these two tags would be to do
$param.Tags += "MyTag","A-Nother-Tag"
Regards, lordmilko
Describe the bug
Tags showing up in the PRTG Webinterface in Quotes.
Example:
Steps to reproduce
What is the output of 'Get-PrtgClient -Diagnostic'?
Additional context
I think there is a Escaping at some point, which should not happen, but i could not find it in your code.