I was looking more so, for an answer regarding the format of the script output for the various script types of a batch file, powershell and VBs scripts.
should a dos batch use echo test to display the output of the script type for dos batch files scripts
should a vbscript script use wscript.host test to display the output for the script type for vbs scripts
should a powershell script use write-host test to display the output for the script type for powershell scripts
On mac, you don't need to echo. As mentioned, anything output will be treated as the result for the custom field.
I'd have thought that if you had a one liner that was:
ipconfig | find "IP Address"
you would expect the result to be the reply to the command. If you subsequently echo'd something in the same script then that would also be considered the result, unless Windows acts differently.
Thanks Sean for the reply
Yes, Sean's response is spot on. If you are only talking strings, then whatever is output would be returned. Dates do require a very specific format.