PART IIIBUILDING YOUR OWN MODULE

By now, you should have a firm grasp on what makes PowerShell PowerShell. We’ve covered the syntax of the language, as well as a few specific modules you may use in your day-to-day automation work. But up until the preceding chapter, we’ve been doing things only in pieces: a little syntax here, a little syntax there, nothing major. In Chapter 14, with the server inventory script, you got your first taste of working on a prolonged PowerShell project. In Part III, we’re going to go bigger: you’re going to build your own PowerShell module.

PowerLab

PowerLab is a single PowerShell module that contains the functions you need to provision Windows servers from scratch. You’ll build PowerLab brick by brick; if you want ...

Get PowerShell for Sysadmins now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.