O'Reilly logo

PowerShell in Depth: An administrator's guide by Don Jones, Richard Siddaway, and Jeffery Hicks

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 25. Script modules and manifest modules

This chapter covers

  • Turning a PowerShell script into a module
  • Exporting module members
  • Using a module manifest
  • Working with dynamic modules

In previous chapters, we’ve shown you how to build a script—or, more likely, a function—that works much like a native PowerShell cmdlet. In this chapter, we’re going to show you how to package multiple functions together into a distributable form that can be loaded into, and unloaded from, the shell. You’ve almost certainly used these modules before, perhaps loading the ActiveDirectory module. The only difference in what you’ll build now is that you’ll work entirely in PowerShell’s scripting language, whereas many of the modules you’ve used to this point ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required