Hi All,
I am trying to get a powershell script to work in solarwinds, however i am having issues and output result comes back as not defined.
I have tested the script from powershell on the Solarwinds server and this runs fine, i just cant get it to run from the SAM template
can anyone let me know where im going wrong, script is a two liner and have it as below

Thanks