Hi
I tried simple powershell script that print my hostname and I see it in the action output as expected
Did you try running the script from the windows command line?
Sometime it can be related to RA agent service permission (e.g when running RA agent as local service account Vs user account)
Thanks
Jacky