Describe the bug
With a few sensors, I get the following error message when querying the properties:
I see the same bug in #214 but ist must be a differnet error, it was in 2021
Steps to reproduce
get-sensor -id 26740 | Get-ObjectProperty
What is the output of 'Get-PrtgClient -Diagnostic'?
Get-ObjectProperty : Could not deserialize value 'DiscardResult' as it is not a valid member of type 'PrtgAPI.DebugMode'. Could not process XML '<injected_writeresult>DiscardResult</injected_writeresult>'.
At line:1 char:24
+ get-sensor -id 26740 | Get-ObjectProperty
+ ~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Get-ObjectProperty], XmlDeserializationException
+ FullyQualifiedErrorId : PrtgAPI.XmlDeserializationException,PrtgAPI.PowerShell.Cmdlets.GetObjectProperty
Additional context
PSVersion : 5.1.14393.6343
PSEdition : Desktop
OS : Microsoft Windows Server 2016 Datacenter
PrtgAPIVersion : Unknown
Culture : en-US
CLRVersion : .NET Framework 4.8 (528049)
PrtgVersion : 24.2.94.1400
PrtgLanguage : english.lng
ModuleType Version Name ExportedCommands
Binary 0.9.19 PrtgAPI {Add-Device, Add-Group, Add-NotificationTrigger, Add-Sensor...}
Describe the bug
With a few sensors, I get the following error message when querying the properties:
I see the same bug in #214 but ist must be a differnet error, it was in 2021
Steps to reproduce
What is the output of 'Get-PrtgClient -Diagnostic'?
Additional context
PSVersion : 5.1.14393.6343
PSEdition : Desktop
OS : Microsoft Windows Server 2016 Datacenter
PrtgAPIVersion : Unknown
Culture : en-US
CLRVersion : .NET Framework 4.8 (528049)
PrtgVersion : 24.2.94.1400
PrtgLanguage : english.lng
ModuleType Version Name ExportedCommands
Binary 0.9.19 PrtgAPI {Add-Device, Add-Group, Add-NotificationTrigger, Add-Sensor...}