M365 PowerShell Commands
A copy-paste reference of common Microsoft 365 admin and security-triage PowerShell commands, grouped by module — search or browse once you're already connected.
Fill in your tenant, alias, and UPN below to have them substitute live into every command that needs them — copying a row copies exactly what's shown.
Access