Chapter 8. Using and authoring modules

This chapter covers

  • The role of the module system
  • Module basics
  • Working with modules
  • Writing script modules
  • Binary modules

The value of a telecommunications network is proportional to the square of the number of connected users of the system.

Robert Metcalfe (Metcalfe’s Law)

A popular meme in the software industry is that the best programmers are lazy—rather than writing new code to solve a problem, they try to reuse existing code. This leverages the work that others have done to debug and document that code. Unfortunately, this kind of reuse happens less often than it should.

Note

From user studies, the PowerShell team has verified that prior to the introduction of PowerShell, the ...

Get Windows PowerShell in Action, Third Edition 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.