Behind the PowerShell Pipeline
$34.98
Minimum price
$39.98
Suggested price

Behind the PowerShell Pipeline

Discovering What You Didn't Know You Needed to Know

About the Book

This book culminates almost 20 years of writing about and teaching PowerShell. In that time, I have come to realize that there is more to PowerShell than stringing some commands together in a pipeline or writing a PowerShell script. For years, I focused on the mechanics, such as how to write a script, use a cmdlet, and use the pipeline. But I have come to realize that there is more to PowerShell than just the mechanics. There is a philosophy behind PowerShell that is just as important as the mechanics. This book is about that philosophy.

These are my ideas based on years of teaching, presenting, and writing about PowerShell. These are ideas that aren't necessarily documented in Microsoft documentation. I like to think of these concepts as PowerShell's "squishy" bits. The parts that are hard to quantify but are just as important as the mechanics.

Learning the mechanics is easy. You can ask ChatGPT or CoPilot to write a command. But generally, you are writing commands for someone to run. Maybe you. Maybe the help desk. What do you need to know to create a PowerShell command that is fluid, easy to use, and easy to understand? What is the context in which someone will run your command? AI-generated code may be a good starting point but should not be the end. How can you create something that is as frictionless as possible for the user?

Is This Book for You?

The book's target audience is the PowerShell scripting IT Pro. A typical reader will have basic PowerShell experience and scripting skills. Ideally, the reader will have created scripts, functions, or modules and wants to know how to make them better and more user-friendly.

What Will You Learn?

While there is a lot of code in the book, that isn't the focus. You will learn how to think about your code from a user's perspective. You will learn how to think about your code from a greater context than simple execution. The code samples are there to illustrate the concepts and provide examples of what you can do to improve the quality of your code. I'll also share suggestions for making PowerShell easier for you to use on a daily basis.

Free Sample Chapter

The free sample includes sample chapters to give you a taste of what to expect. You are encouraged and more than welcome to download them. But why bother? Leanpub has a no-questions-asked refund policy, so it's completely risk-free.

Available Formats

Leanpub offers eBooks in multiple formats, and you get all of them with your purchase. I love the "Send to Kindle" feature. Note that the PDF is probably the "highest fidelity" version, especially in terms of code listings. Buy once, own forever.

About the Author

Jeff Hicks
Jeff Hicks

Jeff Hicks is an IT veteran with 35 years of experience, much of it spent as an IT infrastructure consultant specializing in Microsoft server technologies with an emphasis on automation and efficiency. He is a multi-year recipient of the Microsoft MVP Award for his PowerShell-related contributions. He works today as an independent author, teacher, and consultant. Jeff has taught and presented on PowerShell and the benefits of automation to IT Pros worldwide for almost 30 years. He has authored and co-authored several books, writes for numerous online sites, is a [Pluralsight](https://app.pluralsight.com/profile/author/jeff-hicks) author, and a frequent speaker at technology conferences and user groups.


You can keep up with Jeff at [https://jdhitsolutions.github.io](https://jdhitsolutions.github.io)

Table of Contents

    • About This Book
    • A Note on Code Listings
    • 1Introduction
    Part IThe PowerShell Consumer
    • 2Learning How to Learn
    • 3Proper PowerShell Practice
    • 4Hosting Help
    • 5PowerShell Profile Prowess
    • 6Synchronized PowerShell Profiles
    • 7PowerShell Profile Logging
    • 8Richer PowerShell Logging
    • 9The Value of Objects
    • 10Optimizing PowerShell Objects
    • 11Pretty PowerShell is Better PowerShell
    Part IIThe PowerShell Creator
    • 12Automation Decisions
    • 13What’s In a Name
    • 14The Zen of PowerShell Code
    • 15Creating Better PowerShell Output
    • 16Better Function Design
    • 17Information is Power
    • 18Clean Code is Secure Code
    • 19Better Code Comments
    • 20Pretty PowerShell is Better PowerShell
    Part IIIThe PowerShell Community
    • 21The PowerShell Learning Experience
    • About the Author
    • Release Notes

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