I don’t know what’s wrong, but just to be sure, try to run a config that returns some fixed strings.
commands = [
'powershell -Command Write-Host TestCommand`,host=DFS1 DfsrBacklogCount=0i'
,'powershell -File C:\Test.ps1'
]
Where "C:\dfsr.ps1" does simply this:
Write-Host TestFile`,host=DFS1 DfsrBacklogCount=0i
Let me know if you see both points in the output.
Another issue might be the timeout, how much does the command takes when you run it by hand?
EDIT:
When using Write-Host the commas must be escaped using backtick(`), otherwise powershell and cmd won’t print them out