r/PowerShell • • Oct 15 '26

Script Sharing I built a free PowerShell tool to find out where all the storage in a Microsoft 365 tenant is going

I've been working on a PowerShell 7 script to help us understand exactly how much storage our Microsoft 365 tenants are consuming.

It started as a way to estimate Microsoft 365 backup requirements, but evolved into something more useful.

The script collects storage information from Exchange Online (including online archives), OneDrive, and SharePoint, including Teams-connected file storage.

It produces a console summary, CSV export, and a standalone HTML report with charts and storage breakdowns.

There's also an optional backup cost estimator.

I've tested it against a couple of production tenants, including comparisons between the Fast and Exact Exchange measurement modes. Results were reasonably close.

I've released it under the MIT license, along with documentation and a sample report.

If anyone finds it useful, I'd welcome feedback, bug reports, or suggestions for improvements.

GitHub: M365 Tenant Storage Assessment

3 Upvotes

1 comment sorted by

1

u/Expensive-Event-6086 20d ago

The GitHub entry is showing as plain text rather than a link. Could you add the repository URL so people can review the script, required permissions, and sample report before trying it against a tenant?