locked
mailbox limits RRS feed

  • Question

  • Is there anyway via shell command for 2013, to list for all mailboxes, whether they are subject to a size limit, i.e. 2GB per mailbox? Or details of the limit per mailbox? Ideally the shell command could list the current size of the mailbox in MB also.

    is it generally seen as best practice to enforce a max mailbox size limit?                            
    Friday, February 13, 2015 10:13 AM

Answers

  • Get-Mailbox -ResultSize Unlimited | Get-MailboxStatistics | ?{$_.TotalItemSize -gt 2GB} | Select DisplayName,TotalItemSize

    Above command will only get you the mailboxes that are greater than 2GB.

    In case if you want query per database then you can use:

    Get-MailboxStatistics -Database DBName | ?{$_.TotalItemSize -gt 2GB} | Select DisplayName,TotalItemSize


    Pavan Maganti ~ ( Exchange | 2003/2007/2010/E15(2013)) ~~ Please remember to click “Vote As Helpful" if it really helps and "Mark as Answer” if it answers your question, “Unmark as Answer” if a marked post does not actually answer your question. ~~ This Information is provided is "AS IS" and confers NO Rights!!

    Friday, February 13, 2015 6:17 PM

All replies

  • Get-Mailbox -ResultSize Unlimited | Get-MailboxStatistics | ?{$_.TotalItemSize -gt 2GB} | Select DisplayName,TotalItemSize

    Above command will only get you the mailboxes that are greater than 2GB.

    In case if you want query per database then you can use:

    Get-MailboxStatistics -Database DBName | ?{$_.TotalItemSize -gt 2GB} | Select DisplayName,TotalItemSize


    Pavan Maganti ~ ( Exchange | 2003/2007/2010/E15(2013)) ~~ Please remember to click “Vote As Helpful" if it really helps and "Mark as Answer” if it answers your question, “Unmark as Answer” if a marked post does not actually answer your question. ~~ This Information is provided is "AS IS" and confers NO Rights!!

    Friday, February 13, 2015 6:17 PM
  • Hi,

    If you want to verify the status of the mailbox quota for all the mailboxes that are hosted on a database, run the following command:

    Get-MailboxStatistics -Database <var>DatabaseName</var> | ft displayname,*quota*,*size -AutoSize -Wrap

    For mor information about this, please refer to:

    http://support2.microsoft.com/kb/2819389/en-us

    Regards,


    Winnie Liang
    TechNet Community Support

    Sunday, February 15, 2015 4:41 AM