I am using a powershell script to pull Remote Desktop Session information. This script works on the remote RD server.
Get-RDUserSession | Sort-Object -Property UserName | Format-Table -Property UserName, CollectionName, DomainName, HostSErver, SessionState, CollectionType, CreateTime, DisconnectTime -GroupBy UserName
When I use this sensor on PRTG I receive the error.
XML: The Returned XML does not match the expected scheme (code: PE233)-JSON: The returned JSON does not match the expected structure.
I have changed windows credentials to match my own, and the admin credentials we built for PRTG. Both have not changed anything.
I have added the ConvertTo-XML and ConverTO-JSON commands. These have changed nothing.
I have done all of the above with only using the command
I was hoping someone can point me in the right direction.