Getting 'test failed with "unknown" status' on a Windows PowerShell Monitor such as the one below. This happens on multiple nodes, local or remote host, etc. Orion does get the stats back as evident from the screenshots - so why doesn't it get the exit code? Or is something else at play?
Write-Host 'Message: test'
Write-Host 'Statistic: 0'
Did review the following, checked out Configuring and Integrating PowerShell.pdf - didn't help.
- All powershell scripts failing with Unknown status but stats and messages are correct
- Powershell - Test failed with &quot;unknown&quot; status
(Running Orion Platform 2017.1.3 SP3, NPM 12.1, SAM 6.4.0.)