when I use the sample PowerShell script, it works without errors. Can you create a standalone/simple PowerShell script which is causing the error with dummy entries and no dependencies to external data sources?
configuring the following setting will resolve your issue:
i didn't found this forum entry again today, therefore i created a ticket, where Germar helped me in Lightspeed with the tip above. The reason was: In my Powershell script there where some Write-Host commands included, which raise the described error.
Thanks for your help
i create a Powershell script to get computers and folders from a Sharepoint list and create a structure in RoyalTS with that information. The (shortened) PS scripts looks like:
The scripts outputs a JSON file, which successful can be added to the dynamic folder and creates automatically a few folder and computers as expected. Here is the JSON (names and addresses replaced by dummy values):
When i run the script, i get the following error:
Unexpected character encountered while parsing value: P.Path '', line 0, position 0.
Do you have any idea for me?