Building a PowerShell Tool
Building a PowerShell Tool
$5.99
Minimum price
$14.99
Suggested price
Building a PowerShell Tool

This book is 85% complete

Last updated on 2019-08-12

About the Book

PowerShell's real power comes through in its tool-making abilities. What do I mean by a tool? A tool is a PowerShell script, a module, a function, whatever that helps you perform some management task. That task could be creating a report, gathering information about a computer, creating a company user account, and so on.

PowerShell shines as an automation language. In this eBook built as a PowerShell mini-course, you'll learn how to build an automation tool using PowerShell.

This eBook mini-course will guide you from having nothing to show all the way up to a PowerShell script that can query and return information across all of your servers.

Not only will you learn how to write a PowerShell script but you'll also learn the mindset behind writing a script that will take your PowerShell skills to the next level. You'll see how a PowerShell expert thinks and how he approaches writing a PowerShell tool.

  • Share this book

  • Installments completed

    1 / 2

About the Author

Adam Bertram
Adam Bertram

Adam Bertram is a 20-year veteran of IT and experienced online business professional. He’s an entrepreneur, IT influencer, Microsoft MVP, blogger, trainer and content marketing writer for multiple technology companies. Adam is also the founder of the popular IT career development platform TechSnips. Catch up on Adam’s articles at adamtheautomator.com, connect on LinkedIn, or follow him on Twitter at @adbertram or the TechSnips Twitter account at @techsnips_io.

About the Contributors

Jim Birley
Jim Birley
Lee Dailey
Lee Dailey

https://www.reddit.com/user/Lee_Dailey

Matt Bobke
Matt Bobke

https://mattbobke.com/

Nick Rimmer
Nick Rimmer

Table of Contents

  • About This Book
  • About the Author
  • Feedback
  • Instructions and Mini-Course Structure
  • Table of Contents
  • Prerequisites
  • More PowerShell!
    • Subscribe to stay in touch
  • Script Scaffolding
    • Defining the Final Output
    • Discovery and Script Input
    • Building a Common Object Type
  • Enumerating User Profiles
    • The Tool (Thus Far)
  • Finding Free Disk Space
    • Managing Arrays of Objects
    • The Tool (Thus Far)
  • Finding Operating System Information
    • The Tool (Thus Far)
  • Finding Memory
    • The Tool (Thus Far)
  • Finding Server IP Addresses
  • Querying Windows Services
    • The Tool (Thus Far)
  • Refactoring
  • Building an HTML Report
    • The Tool (Thus Far)
  • Refactoring…Again?
    • Adding Script Parameters
    • Using a Shared CIM Session and Splatting
    • Using PowerShell Remoting and Supporting Parallel Runs
    • Remove the CIM session and All ComputerName Parameters
  • Summary
  • Release Notes

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

Authors, publishers and universities use Leanpub to publish amazing in-progress and completed books and courses, just like this one. You can use Leanpub to write, publish and sell your book or course as well! 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