I’m investigating ways to automate IT operations and we already use powershell heavily. Is there a way we can create alerts that fire off actions that would execute powershell scripts or commands (ideally commands the size of scripts )
Welcome to the discussion boards!
I'm not aware of a way to do this automatically. The closest think I can think of is to build a service which can leverage one of the existing Watcher actions. For example, you could build a web service which can execute Powershell scripts, and then use Watcher's Webhook action to call this web service.
You could do something similar with the Slack action if you'd prefer too