Can a powershell script output information to KACE when run from the Scripting module
Usually, when we run PS scripts using the scripting module, the only output we gety in the output logs is a status message saying that the PS script was successfully launched. Unfortunately, this does not let us know if the script itself ran without issue.
Is there anyway to have a script send back an exit code or status massage to the output logs so that I can tell if the script itself encountered issues?
Any help would be greatly appreciated.