Office 365 Knowledge

Back

How to guides:

Script to export all mailbox sizes to CSV using PowerShell on Office 365

This PowerShell script will connect to Office 365 and export all mailbox sizes to a CSV file. A lot of people suggest running the following command:

This is a pretty simple command, which will do the job, but our script offers you much more control – and as we love writing scripts we wanted to share it with you.