This discussion has been locked. The information referenced herein may be inaccurate due to age, software updates, or external references.
You can no longer post new replies to this discussion. If you have a similar question you can start a new discussion in this forum.

PowerShell output

The whole PowerShell script body is:

Write-Host 'Statistic: 0';

Write-Host 'Message: Bye';

and this works well when testing the script in SAM.

However, the following does not work:

Write-Host 'Statistic.1: 0';

Write-Host 'Message.1: Bye';

I get: "Test failed with Unknown status ..."

My version of SAM is 6.4.0

What am I doing wrong?

The only reason I am attempting this is because I would like to have multiple outputs from the script.