Recieving the following error for our Veeam Sensor Script: "XML: The returned XML does not match the expected schema. (code: PE233) -- JSON: The returned JSON does not match the expected structure (invalid JSON). (code:PE231)"



You could set it back to the non-working variant and then enable Write result to disk in the sensor's Settings tab. With the next scan, it will write one or several result files into "C:\ProgramData\Paessler\PRTG Network Monitor\Logs (Sensors)" of your PRTG core server (or on the remote probe if applicable).


All files have the sensor's numeric ID in their file names. The sensor ID can be found on the sensor's Overview tab. One of those files will show the the response of the script execution and possibly more details of what went wrong.

Note: In case you've configured a different data-path in PRTG Administration Tool, you need to look there for the subfolder "Logs (Sensors)".



You need to enable PowerShell to allow remote scripts. On the remote PC, launch the Group Policy Editor and navigate to: Local Computer Policy > Computer Configuration > Administrative Templates > Windows Components > Windows PowerShell

Enable "Turn on Script Execution" and set to "Allow local scripts and remote signed scripts".


Disclaimer:
The information in the Paessler Knowledge Base comes without warranty of any kind. Use at your own risk. Before applying any instructions please exercise proper system administrator housekeeping. You must make sure that a proper backup of all your data is available.