ExchangeOnlineManagement module: setup and commands
Documentation: Microsoft Learn
Connect with Connect-ExchangeOnline and query mailboxes with Get-EXOMailbox while requesting only the properties your report actually needs.
Getting it
Install-PSResource -Name ExchangeOnlineManagement from the PowerShell Gallery, then run Connect-ExchangeOnline before anything else.
Examples
Show reference output
Show reference output
What it is for
Use it for mailbox inventory, mail flow rule review, permission audits, and recipient changes across a tenant. Prefer the Get-EXO cmdlets for reporting, since they return faster and accept property sets.
Typical tasks
- Inventory mailboxes by recipient type
- Report mailbox sizes and item counts
- Find mailboxes configured to forward mail
- Audit delegated mailbox permissions
- Export transport rules for change control
- Review inbound and outbound connectors
Check the installed version
Compare the module path and version with the session used by your scheduled task or automation account. Use it for mailbox inventory, mail flow rule review, permission audits, and recipient changes across a tenant. Prefer the Get-EXO cmdlets for reporting, since they return faster and accept property sets.