Find inactive Exchange mailboxes
Finds inactive mailboxes retained for compliance.
What this PowerShell script does
Finds inactive mailboxes retained for compliance.
Requirements
- CSV output path — Example: C:\Temp\report.csv
Environment
- Module: ExchangeOnlineManagement
- Permissions: View-Only Recipients
- Output: CSV report
- Context: PowerShell 7 · Exchange Online
- Risk: Low
Why use this template?
Use this PowerShell template when you need to Finds inactive mailboxes retained for compliance. It can be previewed in the Builder; Pro access is required to generate it for your own environment.
The template uses ExchangeOnlineManagement and requires View-Only Recipients. Output: CSV report. Level: Advanced. Action: Read-only. Risk: Low.
Review before running
The script remains preview-only until Pro access is enabled. Review it before running it, and test it outside production first. “Read-only” describes the script itself; anything you add around it can still change data.
Preview the script
- Open the template in the PowerShell Builder.
- Review the purpose, requirements, permissions, output and risk.
- Activate Pro when you are ready to generate the full script, then test it outside production.
Pro templates remain previewable before purchase or activation. Nothing needs to be uploaded to Opselith.Preview Find inactive Exchange mailboxes →