Modules were introduced with PowerShell 2. A module groups a set of commands together, most often around a common system, service, or purpose.
PowerShell uses several different types of module, such as manifest, binary, and script. A manifest module is typically made up of a set of nested modules. A binary module uses a compiled library (.dll file) to implement commands. This chapter focuses on script modules.
In this chapter we will cover the following topics:
- Module layout
- Multi-file module layout
- Module scope
- Module initialization and removal