Hey everyone,
I'm quite new to Orion and am trying to figure out how to run PowerShell scripts (as in ps1 files) on my monitored systems. It looks like the SAM component needs several manual steps (create a template, configure its credentials, copy a script into a text field, and a bunch of other manual UI stuff based on the 18-step process at Windows PowerShell Monitor ).
But I don't want to do any of that - I want to have the agent run scripts that exist as files and can therefore have their contents centrally controlled via git or perforce, and track the metrics they report. Just manually copying code excerpts into a field is far too manual for 2020.
I could have the "script" in the powershell monitor just call another script by name, but I would sure like to know if there's a less-kludgy way to do what I want.
Any advice?