The PowerShell Practice Primer (The Book + Working Files)
Minimum price
Suggested price

The PowerShell Practice Primer

100+ Exercises for Improving Your PowerShell Skills

About the Book

Enhance your PowerShell Learning In a Whole New Way

Long-time Microsoft MVP and veteran PowerShell teacher Jeff Hicks has created a PowerShell book, unlike anything you've read before. Those other books are great, and the assumption for this book is that you have read something like Learn Windows PowerShell in a Month of Lunches or have equivalent experience. You understand some PowerShell basics but need to improve your fluency. Learning PowerShell is no different than learning any foreign language. You need to practice it and use it constantly. That's where The PowerShell Practice Primer comes into the picture.

This book consists of 100-plus PowerShell-centric problems or exercises. The solutions should be no more than a few lines of PowerShell commands that you would **run in an interactive console session**. This is **not** a scripting book. The PowerShell Practice Primer is designed to improve your proficiency with the PowerShell paradigm, language, and syntax. The exercises don't require any custom lab setup. You should be able to answer everything with a Windows 10 desktop. Problems in Part 5 assume you have installed the latest stable release of PowerShell 7.x.

Is This All Fun and Games?

The exercises in this book are (mostly) based on real-world and practical applications. The hope is that you'll have fun figuring out a solution and that the *real* learning happens during that process. *How* you devise a solution is more important to the learning process than the solution itself. The problems start at a beginner-level and increase in complexity throughout the book.

Check Out the Free Sample

The free sample includes sample chapters to give you a taste of what to expect. You are encouraged and more than welcomed to download them. But why bother? Leanpub has a no-questions-asked refund policy, so it's completely risk-free. But you may want to grab the sample anyway because it has questions that aren't in the book. Think of them as bonus exercises!

Available Formats

Leanpub offers ebooks in PDF, MOBI, and EPUB formats, and you get all three with your purchase. Personally, I love the "Send to Kindle" feature. Note that the PDF is probably the "highest fidelity" version, especially in terms of code listings. Although Microsoft Edge can open and display the epub version. It can even read the book aloud for you!

  • Share this book

  • Categories

    • PowerShell
    • Software
  • Feedback

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

    Email the Author(s)

About the Author

Jeff Hicks
Jeff Hicks

Jeffery Hicks is an IT veteran with almost 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. He works today as an independent author, teacher, and consultant. You can keep up with Jeff at

Table of Contents

    • About This Book
    • A Note on Code Listings
    • Foreword
    • Preface
    • How To Use This Book
    • A PowerShell Refresher
    • Part 1 - PowerShell Principles
    • Part 1 Exercises
    • Part 1 Solutions
    • Part 2 - PowerShell Providers
    • Part 2 Exercises
    • Part 2 Solutions
    • Part 3 - PowerShell Structures
    • Part 3 Exercises
    • Part 3 Solutions
    • Part 4 - WMI and CIM
    • Part 4 Exercises
    • Part 4 Solutions
    • Part 5 - PowerShell 7
    • Part 5 Exercises
    • Part 5 Solutions
    • Afterword
    • 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...

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 $13 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