PowerShell modules: installation and command reference
Find module prerequisites, installation guidance and the commands used for Windows, Active Directory and cloud administration.
Core PowerShell 5 modules
The built-in Microsoft.PowerShell.* utility modules.
Microsoft.PowerShell.Diagnostics
Built-in 5.1 · 7
Read Windows event and diagnostic data with Get-WinEvent and related cmdlets while filtering at the provider instead of after retrieval.
Microsoft.PowerShell.Management
Built-in 5.1 · 7
Use core management cmdlets for services, processes, files and computers, and verify object types before filtering or formatting output.
Microsoft.PowerShell.PSResourceGet
Built-in 5.1 · 7
Discover and install modules with Find-PSResource and Install-PSResource, checking repository trust, version constraints and command-name changes.
Microsoft.PowerShell.Security
Built-in 5.1 · 7
Inspect execution policy, signatures and secure strings with security cmdlets while treating execution policy as a safety feature, not a boundary.
Microsoft.PowerShell.Host
Built-in 5.1 · 7
Record console sessions with transcripts and interact with the host using Read-Host, Start-Transcript, and Stop-Transcript.
Microsoft.PowerShell.Utility
Built-in 5.1 · 7
Transform, measure, sort and export objects with Utility cmdlets while keeping formatting commands at the end of the pipeline.
Azure 6 modules
Az sub-modules for accounts, compute, network, storage, key vault, and resources.
Az.Accounts
PSGallery 5.1 · 7
Connect with Connect-AzAccount, inspect subscriptions with Get-AzSubscription and set the intended tenant and subscription context before Azure changes.
Az.Compute
PSGallery 5.1 · 7
Inspect Azure VMs with Get-AzVM, read power state explicitly and manage disks or scale sets without confusing configuration with live status.
Az.KeyVault
PSGallery 5.1 · 7
Find vaults with Get-AzKeyVault, retrieve secrets deliberately and distinguish control-plane access from permission to read secret values.
Az.Network
PSGallery 5.1 · 7
Inspect Azure virtual networks, subnets, NSGs and public IPs with Az.Network while keeping resource group, region and object IDs explicit.
Az.Resources
PSGallery 5.1 · 7
Inventory Azure resources with Get-AzResource and Get-AzResourceGroup, then scope changes carefully by subscription, resource group, type and tag.
Az.Storage
PSGallery 5.1 · 7
Work with Azure storage accounts and data services, keeping management-plane resources separate from blob, file, queue and table operations.
Microsoft 365 4 modules
Exchange Online, SharePoint Online, Teams, and Microsoft Graph.
ExchangeOnlineManagement
PSGallery 5.1 · 7
Connect with Connect-ExchangeOnline and query mailboxes with Get-EXOMailbox while requesting only the properties your report actually needs.
Microsoft.Graph
PSGallery 5.1 · 7
Connect to Microsoft Graph with explicit scopes, inspect the active context and query only the users, groups or devices your automation needs.
Microsoft.Online.SharePoint.PowerShell
PSGallery 5.1 · 7
Connect to the SharePoint Online admin service, inventory sites with Get-SPOSite and verify tenant permissions before changing site settings.
MicrosoftTeams
PSGallery 5.1 · 7
Connect to Microsoft Teams, inspect teams and policies, and account for role permissions and eventual consistency before judging a change unsuccessful.
Windows Server & directory 4 modules
Active Directory, DHCP, DNS, and Group Policy.
ActiveDirectory
Windows feature 5.1 · 7
Query users, groups and computers with Get-ADUser and Get-ADGroup, then avoid broad searches by choosing a search base and requested properties.
DhcpServer
Windows feature 5.1 · 7
Inspect DHCP scopes, leases, reservations and options with Get-DhcpServerv4Scope before changing address pools or client configuration.
DnsServer
Windows feature 5.1 · 7
Query DNS zones and records with Get-DnsServerZone and Get-DnsServerResourceRecord before changing forwarders, aging or scavenging.
GroupPolicy
Windows feature 5.1 · 7
Find Group Policy objects with Get-GPO and export evidence with Get-GPOReport before changing links, inheritance or enforcement.
Network, virtualization & storage 4 modules
NetSecurity, NetTCPIP, Hyper-V, and Storage.
Hyper-V
Windows feature 5.1 · 7
Inspect VMs with Get-VM, review checkpoints and virtual switches, and distinguish configured state from replication and runtime health.
NetSecurity
Built-in 5.1 · 7
Inspect Windows Firewall profiles and rules with Get-NetFirewallProfile and Get-NetFirewallRule before changing direction, scope or enforcement.
NetTCPIP
Built-in 5.1 · 7
Diagnose addresses, routes and TCP connections with Get-NetIPAddress, Get-NetRoute and Get-NetTCPConnection using the correct interface context.
Storage
Built-in 5.1 · 7
Inspect physical disks, partitions, volumes and Storage Spaces with Get-Disk and Get-Volume before any destructive initialization or formatting step.
Testing, editing & automation 4 modules
Pester, PSReadLine, PSScriptAnalyzer, and ScheduledTasks.
Pester
PSGallery 5.1 · 7
Write repeatable PowerShell tests with Describe, It and Should, then isolate dependencies with mocks that target the command actually called.
PSReadLine
PSGallery 5.1 · 7
Configure command history, prediction, completion and key handlers with PSReadLine while checking host support and avoiding shared-history surprises.
PSScriptAnalyzer
PSGallery 5.1 · 7
Run Invoke-ScriptAnalyzer with explicit rules and settings, separate style findings from correctness issues and suppress rules only with a reason.
ScheduledTasks
Built-in 5.1 · 7
Inspect task definitions, triggers and principals with Get-ScheduledTask, then verify execution history instead of assuming registration means success.
Error decoder
Paste the red text. The decoder names the kind of error it is and points at the lesson that fixes it. It never runs your code, and decoding happens entirely in your browser — your pasted error is never sent anywhere.