2

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. ...

Get Mastering PowerShell Scripting - Fifth 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.