ChatOps - Part 1
This blog has been a bit quiet for a while, but I have have some new things to share! We've begun implementing the beginnings of ChatOps at work – and the results so far are promising. I won't rehash here what it is and what type of work culture it takes to run (see this post for a brief intro).
Instead, let's chat about how you can get up and running with a relatively new entrant to ChatOps - PoshBot, which is what is powering my current projects.
PoshBot is a basic bot framework that easily connects to Slack (and a few other enterprise chat apps; notably, support for Microsoft Teams arrived recently). It allows you to send messages in a channel or direct message to the user "PoshBot" which then forwards your message to a server of your choice. This message gets translated into whatever PowerShell code you want that type of message to execute.
Since PoshBot uses PowerShell, the possibilities are essentially only limited to what you might dream up.
In this series, I plan to share some examples of how we've used PoshBot to build out a command palette that allows us the flexibility to give some power to our student technicians & help desk employees that we could not otherwise give them without granting full access to complex MMC snap-ins and various GUI-based admin consoles.
ChatOps allows us to be nimble and automate small, repetitive tasks, and it gives us the ability to perform those administrative tasks from any device, anywhere, at any time without sacrificing security. Let's dive in!