February 2020
Beginner
320 pages
7h 57m
English

In the preceding chapter, you learned about functions. Functions break a script into manageable units, giving you more efficient, more readable code. But there’s no reason a good function should exist in only a script or single session. In this chapter, you’ll learn about modules, groups of similar functions that are packaged together and distributed for others to use across many scripts.
In its purest form, a PowerShell module is just a text file with a .psm1 file extension and some optional, extra metadata. Other types of modules that don’t fit this description are known as binary modules and dynamic modules, but they are ...
Read now
Unlock full access