Modules and snap-ins are packaged collections of commands that may be loaded inside PowerShell. Both modules and snap-ins may be used to extend the set of commands available in PowerShell. Modules are more flexible and are simpler to work with and this will be clear with the several commands that we will be covering in this chapter. We will also look at PowerShell Gallery which is a valuable source of modules published by Microsoft and others. In a nutshell, this chapter will explore the use and discovery of modules within Windows PowerShell and PowerShell Core.
The chapter will cover the following topics:
- Introducing modules
- PowerShell Core and the WindowsCompatibility module
- Introducing snap-ins