Link to home
Start Free TrialLog in
Avatar of georgedschneider
georgedschneiderFlag for United States of America

asked on

Get Mailbox Sizes

I'm trying to write a script to get the mailbox sizes of all linked mailboxes in our enviroment.  The issue is that some of the information is available with the get-mailbox command such as recipient type where as mailbox size is retrieved via the get-mailboxstattistics command.

What I want to accomplish is to export a list of name, recipient type, and mailbox size to a csv file.

How can I accomplish this?
Avatar of Barry Cunney
Barry Cunney
Flag of Ireland image

Hi George,
Please try something like the following:
Get-MailboxDatabase "Mailbox Database Name" | Get-MailboxStatistics | Export-CSV C:\mailboxes.csv

Open in new window

ASKER CERTIFIED SOLUTION
Avatar of georgedschneider
georgedschneider
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of georgedschneider

ASKER

The included scripts I used resolved the question.