Overview

PowerShell is the automation shell for Windows, and runs on Linux and macOS too. It manages services, files, Active Directory and most Microsoft products. In Callgoose SQIBS you can run a PowerShell script as an action in an automation workflow: when an incident opens, on a schedule, or when someone submits a request.

You need
A SQIBS account with automation, and a system that PowerShell can reach
Where it runs
On a Callgoose automation runner inside your network
Result
PowerShell actions in your workflows

What you can do

  • Fix incidents automatically. Link a workflow to an API filter, and it runs the moment that filter opens an incident. If it succeeds, SQIBS can resolve the incident; if not, it escalates.
  • Event-driven automation. Run the same workflow for every matching alert, from any monitoring tool that sends to SQIBS.
  • Request automation. Let people trigger an approved workflow from a request, without giving them access to the systems.
  • Choose the version. Each PowerShell profile has its own PowerShell Version, so different workflows can use different versions.

Set it up

  1. Install a runner. The Callgoose automation runner runs your actions inside your network. Check the firewall requirements.
  2. Create a PowerShell profile. It holds the version and the connection details. See PowerShell profile.
  3. Create a PowerShell action. It holds what to run. See PowerShell action. You can keep scripts in Git: see automation with Git.
  4. Add the action to a workflow. See automation workflow.
  5. Link the workflow to an API filter in your service, so it runs when the incident opens (see below).

Fix known issues automatically

Many alerts have a known fix: restart a service, clear a full disk, run a health check. SQIBS can run that fix for you the moment the incident opens. This is event-driven auto remediation. For example: Run a script that restarts a stopped Windows service and confirms it is running again.

Incident opens
Workflow starts
SQIBS runs the automation workflow linked to the filter.
Fixed
Incident resolved
The issue is fixed before anyone has to step in.
Not fixed
Escalated to the engineer
After the waiting time you set, the escalation policy pages on-call as usual.

Safe by design. SQIBS runs only workflows your own engineers wrote and approved for your environment. Nothing is guessed or generated: the same steps an engineer would run by hand, run sooner. If the workflow does not fix the issue, the engineer is paged as usual.

To set it up, in the same API filter:

  1. Select Workflow: choose the automation workflow to run when this filter opens an incident.
  2. If success then make incident resolved: turn on to resolve the incident when the workflow succeeds.
  3. Waiting time for escalate to escalation policies: how many minutes to give the workflow before paging the on-call engineer.

Start with low-risk workflows, such as a health check, and add fixes as you come to trust them.

Learn more: