ChatOps the Easy Way
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!
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.
Table of Contents
- Who is This Book For?
- Typographic Conventions
- Current Published Book Version
- About the Author
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
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
- What Are Commands?
- How do you Run Commands?
Chapter 5 - PoshBot Overview
- What Is PoshBot?
- Why Was PoshBot Created?
- Cross Platform
- Command Packaged in Plugins
- Message Processing Flow
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
Chapter 7 - PoshBot Functions
- List PoshBot Commands
- PoshBot Configuration
- Managing PoshBot Instances
- Plugin Command Responses
- Stateful Data Management
Chapter 8 - Running PoshBot in the Background
- Running as a Background Job
- Running as a Windows Scheduled Task
- Running as a Windows Service
Chapter 9 - Plugins
- What is a Plugin?
- Importing Plugins into PoshBot
- Finding Plugins
- How Installed Plugins are persisted?
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.
See full terms
80% Royalties. Earn $16 on a $20 book.
We pay 80% royalties. That's not a typo: you earn $16 on a $20 sale. If we sell 5000 non-refunded copies of your book or course for $20, you'll earn $80,000.
(Yes, some authors have already earned much more than that on Leanpub.)
In fact, authors have earnedover $12 million USDwriting, 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