Modules
Modules are packaged collections of commands that may be loaded inside PowerShell, allowing PowerShell to interact with new systems and services. Modules come from a wide variety of different sources.
PowerShell itself is installed with a small number of modules, including ThreadJob
and PSReadline
.
Some modules can be installed by adding Windows features or enabling capabilities, for example, the ActiveDirectory
and GroupPolicy
modules.
Several applications include modules as part of their installers; for example, Microsoft Local Administrator Password Solution (LAPS) includes a PowerShell module that may be used to get passwords and set permissions.
The Windows platform itself includes many modules, for example, the NetFirewall
module. Most of these have been included since Windows 8 was released.
Modules can be installed from the PowerShell Gallery or another registered repository. The PowerShell Gallery can include updated versions of pre-installed modules...