The PowerShell Conference Book
The PowerShell Conference Book
Minimum price
Suggested price
The PowerShell Conference Book

This book is 33% complete

Last updated on 2019-10-07

About the Book

This book is designed to be like a conference in a book where each chapter is written by a different author who is a subject matter expert on the topic covered in their chapter. Each chapter is also independent of the others so you can read one chapter, ten chapters, or all of them. You can start with the first chapter, the last one, or somewhere in-between and not miss out on anything related to that particular topic. This book is written for the intermediate to advanced audience. Prior experience with PowerShell is highly recommended.

All (100%) of the royalties from this book are donated to the OnRamp scholarship program. More information about the OnRamp track at the PowerShell + DevOps Global Summit and their scholarship program can be found on the website.

  • Share this book

  • Installments completed

    15 / 46

  • Feedback

    You must own a copy of this Book to access the forums

    Email the Author(s)

About the Editors

Michael T Lombardi
Michael T Lombardi

Mike Lombardi is a software engineer (@Puppet) whose primary goal is to be a force multiplier for organizations and communities by documenting, mentoring, and working to continuously improve processes and tooling. Mike is the cofounder and organizer of the St. Louis PowerShell User Group and has presented at the PowerShell Summit.

He is also the cohost of the PSPowerHour, a bi-monthly hour of community lightning talks by and for folks in the PowerShell community with ever-changing speakers and topics.

Table of Contents

    • Foreword
    • Contributors
      • Graham Beer
      • Michael Bender
      • Jacob Benson
      • Jessykah Bird
      • Phil Bossman
      • Dave Carroll
      • Ryan Coates
      • Tim Curwick
      • Mateusz Czerniawski
      • Luc Dekens
      • Matthew Dowst
      • Saggie Haim
      • Jeff Hicks
      • Alexander Holmeset
      • Lawrence Hwang
      • Przemysław Kłys
      • Mike Kanakos
      • Bill Kindle
      • Josh King
      • Cory Knox
      • Manoj Krishnasamy
      • Adil Leghari
      • Michael Lombardi
      • Jeremy Murrah
      • Francisco Navarro
      • Will Nevis
      • Greg Onstot
      • Andrew Pla
      • James Pogran
      • Jess Pomfret
      • Thomas Rayner
      • Joel Sallow
      • Glenn Sarti
      • Mike Shepard
      • Justin Sider
      • Daniel Silva
      • Xajuan Smith
      • Fernando Tomlinson
      • Stephen Valdinger
      • Damien Van Robaeys
      • Stéphane Van Gulick
      • Mark Wragg
      • Michael Zanatta
    • How to Use This Book
      • About OnRamp
      • Prerequisites
      • A Note on Code Listings
      • Feedback
    • Acknowledgements
    • Disclaimer
  • Part I: Systems Management
    • Automate Patching With PoshWSUS and PowerShell Scheduled Jobs
      • Introduction
      • PoshWSUS
      • PowerShell Scheduled Jobs
      • Example Scenario
      • Getting Started
      • Connect And Poke Around
      • Building A Solution For Automated Patch Management
      • Tying It All Together With PSScheduledJobs
      • How This Script Fitted Into My Process
      • Next Steps
      • Summary
    • Building SQL Servers with Desired State Configuration
      • Lab setup
      • Infrastructure as Code
      • Desired State Configuration
      • Stages of Desired State Configuration
      • Desired State Configuration and SQL Server
      • Next Steps
    • PowerShell and PKI
      • Introduction
      • Configuring Your PKI
      • Options for Issuing Certificates from Your PKI
      • Script to Provide End Users with No Delegated Access
      • Script with delegated certificate enrollment rights
      • Script to Use an Existing TLS Certificate for RDP Connections
      • Script for the PKI Admin to Submit a CSR and Add in Additional SANs
      • Scripts for an Azure Lab Build
      • Prerequisites
      • Overview of the Lab Build Scripts
      • JavaScript Object Notaion (JSON) Files
      • Scripts for Use Locally (or Via Automation) in Each VM, Post VM build
      • DC-build
      • ORCA-Build
      • CRL-Build
      • ENTCA-Build
      • There You Have It
    • Ansible for the Windows Admin
      • Things to Know about Ansible
      • Learn to Love Linux
      • What’s in a Name - Defining your Inventory
      • Prepping the Preliminary Playbook
      • Taking on Tasks
      • What to do with WinRM
      • Kerberos - The Three-Headed Annoyance
      • Summary
    • Ansible in Practice, for the PowerShell Aficionado
      • The Example Script
      • From PowerShell to the script Module; The Easy Button
      • Maintaining Idempotence
      • Leveraging the Ansible Windows Modules
      • The Final Product
      • For Those About to DSC
      • Summary
  • Part II: PowerShell Tips & Tricks
    • Cross Platform PowerShell: Notes from the Field
      • Daily Use
      • Notes From the Field
      • VS Code Config
      • Wrap-up
    • PowerShell Development on Containers (PowerShell Core)
      • What Containers Are
      • Prerequisites
      • Starting with Docker
      • Managing Existing Containers
      • Use Visual Studio Code to Connect and Develop on a Container
      • Summary
  • Part III: PowerShell Internals
    • Writing Your First Compiled PowerShell Cmdlet
      • The Whys
      • Why You Should Use C# to Write PowerShell Tools
      • Prerequisites
      • Hello World
      • Writing Some Code
      • Ship It
      • Ship It for Real
      • Take This Puppy for a Spin
      • Summary
    • PowerShell’s Tokenizer
      • Context
      • Helper Classes and Enums
      • The Tokenizer Class (Ln. 5–88)
    • Consuming REST APIs with PowerShell
      • Uniform Resource Identifier
      • Endpoint
      • Methods
      • Invoke-RestMethod
      • Sending Requests
      • Endpoint Parameters
      • Path Parameters
      • Query Parameter
      • Address Troubleshooting
      • Body Parameter
      • Authentication Methods
      • Module Development
      • Connecting
      • Wrapping Invoke-WebRequest
      • Moving On
  • Part IV: Handling Data
    • Keeping Your Users in the Loop with Toast Notifications
      • Toasts
      • Cooking Your First Toast
      • Introduction to BurntToast
      • Listening to Your Toast Sing
      • Taking Action, or Just Snooze and Dismiss
      • But Why? Exploring Scenarios and Use Cases for Toasts
      • But Don’t Get Too Excited, There’s a Limitation
      • Go Forth and Cook Toast
    • ReportCardPS - Create Custom HTML Reports with VMware’s Clarity UI Styling
      • How ReportCardPS Works
      • Getting Started
      • The ReportCardPS Manifest File
      • Creating a Basic Report
      • Creating Custom Functions
      • Summary
    • Measure All the Things with Influx, Grafana and PowerShell
      • Why Monitoring and Measuring Are Important
      • Open Source Monitoring Tools
      • Prerequisites
      • Monitoring and Measuring with PowerShell
      • Summary
  • Cloud Operations
  • Culture
    • Where PowerShell has taken Work
      • Reminiscing
      • GUI
      • Click Next
      • Defined Patterns and Slowed Innovation
      • Moving Forward
      • Nod to Cultural Change
      • Current Location
      • Lords of the Gate
      • “But They Have Suspenders!”
      • Tale of Two Definitions
      • Where To Go From Here
    • Your first public speaking talk
      • Interview Transcript
      • Summary
      • Resources and links
  • Notes

Causes Supported

DevOps Collective Scholarships

Support IT education scholarships by giving to The DevOps Collective, Inc.

The DevOps Collective’s OnRamp scholarships help younger technology professionals, many from underrepresented groups and disadvantaged backgrounds, learn about IT automation, DevOps practices, and more - all at no cost to them or their families. We’re changing one life at a time and helping to ensure the continuation and advancement of our trade!

Authors have earned$8,175,756writing, publishing and selling on Leanpub,
earning 80% royalties while saving up to 25 million pounds of CO2 and up to 46,000 trees.

Learn more about writing on Leanpub

The Leanpub 45-day 100% Happiness Guarantee

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

See full terms

Free Updates. Free App. 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), EPUB (for phones and tablets), MOBI (for Kindle) and in the free Leanpub App (for Mac, Windows, iOS and Android). 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. It really is that easy.

Learn more about writing on Leanpub