PowerShell Modules
Module management with Import-Module, PSGallery discovery, and module path configuration.
Modules Quick Reference
List installed modules
Get-Module -ListAvailable | Select-Object Name, Version, ModuleType | Sort-Object Name
Import a module
Import-Module ActiveDirectory
Import-Module NetTCPIP
Import-Module PKI
Find commands in a module
Get-Command -Module ActiveDirectory | Measure-Object
Get-Command -Module ActiveDirectory -Verb Get | Select-Object Name
Install from PSGallery
Find-Module -Name PSReadLine
Install-Module -Name PSReadLine -Scope CurrentUser -Force
Update-Module -Name PSReadLine
Key modules for infrastructure work
Get-Module -ListAvailable | Where-Object Name -in @(
"ActiveDirectory", "GroupPolicy", "DnsServer", "DhcpServer",
"NetTCPIP", "NetAdapter", "PKI", "Hyper-V", "Storage"
) | Select-Object Name, Version