ChatOps the Easy Way
$19.99
Minimum price
$24.99
Suggested price

ChatOps the Easy Way

PowerShell Automation Through Chat Using PoshBot

About the Book

PoshBot is a simple but powerful ChatOps framework built in and for PowerShell that provides automation capabilities through Slack. This book helps both those already familiar with ChatOps and those new to the idea.

The book begins by covering the advantages of implementing ChatOps in your organization by explaining both the social and technical benefits it provides, then dives deep, guiding you through installing PoshBot, wiring it up to Slack, creating your first plugin, and leveraging PoshBot's rich set of capabilities to provide a first-class PowerShell automation experience through chat. Numerous scenarios for ChatOps are covered to provide a broad set of useful solutions to real-world problems encountered in the typical IT organization. 

Examples in this book have been tested with the latest version of PoshBot (0.10.3) as of this writing.

This book is written by the creator of PoshBot, Brandon Olin. It doesn't get more first-hand than this!

This is an Agile-published book

Updates are published as they are written. As PoshBot evolves, so to will this book. This is the only book you'll have to buy on this topic! Your one-time purchase grants you lifetime access to updates and any new content. You can even get notified via Leanpub (if you opt-in) when there's new content available so you're always up to date.

Check Out the Free Sample

The free sample includes some sample chapters but why bother? Leanpub has a no-questions-asked refund policy, so it's entirely risk-free for you to grab the real book and see what you think!

Feedback

I love feedback. Use the "Email the Author(s)" link below to contact me. If something is unclear or you feel it is flat out wrong, let me know. All constructive feedback is welcome and ultimately creates a better book for everyone.

About the Author

Brandon Olin
Brandon Olin

Brandon is a Site Reliability Engineer, Cloud Architect, veteran Systems Engineer, speaker, blogger, freelance writer, and open source contributor. He is a Microsoft MVP in Cloud and Datacenter Management and has a penchant for PowerShell and DevOps processes. He spends much of his time exploring new technologies to drive the business forward and loves to apply ideas pioneered in the DevOps community to solving real-world business problems. Brandon is active in the PowerShell community and loves to give back with a number of projects published to the PowerShell Gallery.

You can follow his code at GitHub, his blog at devblackops.io, or reach him on Twitter at @devblackops.

Table of Contents

  • Dedication
  • Preface
    • Who is This Book For?
    • Typographic Conventions
    • Asides
    • Feedback
    • Current Published Book Version
    • About the Author
  • Introduction
  • Chapter 1 - Chat: A Brief History
    • Bulletin Boards
    • Early Bot Examples
    • Modern Chat Bots for Consumers
    • Modern Chat Products
    • MS Teams
    • Are Bots Dead?
    • ChatOps is Different
  • Chapter 2 - Why ChatOps
    • Conversations, put to work
    • Benefits
  • Chapter 3 - Platforms, Frameworks, and Use-Cases
    • Common Chat Platforms
    • Common Frameworks
    • Third-Party Integrations
    • Common Use-cases
    • The Sky is the Limit
  • Chapter 4 - Anatomy of a ChatBot
    • Fundamentals
    • What Are Commands?
    • How do you Run Commands?
    • Summary
  • Chapter 5 - PoshBot Overview
    • What Is PoshBot?
    • Why Was PoshBot Created?
    • Class-Based
    • Cross Platform
    • Command Packaged in Plugins
    • Backends
    • Features
    • Message Processing Flow
    • Summary
  • Chapter 6 - Installing and Running PoshBot
    • Installing PoshBot
    • Importing PoshBot
    • Retrieving a Slack Bot Token
    • Determining Slack Usernames
    • Creating a PoshBot configuration file
    • Creating a Backend Instance
    • Creating and Starting PoshBot Instance
    • Validating Connectivity
    • Summary
  • Chapter 7 - PoshBot Functions
    • List PoshBot Commands
    • PoshBot Configuration
    • Backends
    • Managing PoshBot Instances
    • Plugin Command Responses
    • Stateful Data Management
    • Summary
  • Chapter 8 - Running PoshBot in the Background
    • Running as a Background Job
    • Running as a Windows Scheduled Task
    • Running as a Windows Service
    • Summary
  • Chapter 9 - Plugins
    • What is a Plugin?
    • Importing Plugins into PoshBot
    • Finding Plugins
    • How Installed Plugins are persisted?
    • Summary

The Leanpub 60 Day 100% Happiness Guarantee

Within 60 days of purchase you can get a 100% refund on any Leanpub purchase, in two clicks.

Now, this is technically risky for us, since you'll have the book or course files either way. But we're so confident in our products and services, and in our authors and readers, that we're happy to offer a full money back guarantee for everything we sell.

You can only find out how good something is by trying it, and because of our 100% money back guarantee there's literally no risk to do so!

So, there's no reason not to click the Add to Cart button, is there?

See full terms...

Earn $8 on a $10 Purchase, and $16 on a $20 Purchase

We pay 80% royalties on purchases of $7.99 or more, and 80% royalties minus a 50 cent flat fee on purchases between $0.99 and $7.98. You earn $8 on a $10 sale, and $16 on a $20 sale. So, if we sell 5000 non-refunded copies of your book for $20, you'll earn $80,000.

(Yes, some authors have already earned much more than that on Leanpub.)

In fact, authors have earnedover $14 millionwriting, publishing and selling on Leanpub.

Learn more about writing on Leanpub

Free Updates. DRM Free.

If you buy a Leanpub book, you get free updates for as long as the author updates the book! Many authors use Leanpub to publish their books in-progress, while they are writing them. All readers get free updates, regardless of when they bought the book or how much they paid (including free).

Most Leanpub books are available in PDF (for computers) and EPUB (for phones, tablets and Kindle). The formats that a book includes are shown at the top right corner of this page.

Finally, Leanpub books don't have any DRM copy-protection nonsense, so you can easily read them on any supported device.

Learn more about Leanpub's ebook formats and where to read them

Write and Publish on Leanpub

You can use Leanpub to easily write, publish and sell in-progress and completed ebooks and online courses!

Leanpub is a powerful platform for serious authors, combining a simple, elegant writing and publishing workflow with a store focused on selling in-progress ebooks.

Leanpub is a magical typewriter for authors: just write in plain text, and to publish your ebook, just click a button. (Or, if you are producing your ebook your own way, you can even upload your own PDF and/or EPUB files and then publish with one click!) It really is that easy.

Learn more about writing on Leanpub