Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

mailbox limits

Posted on 2015-02-13
5
61 Views
Last Modified: 2015-02-18
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?
0
Comment
Question by:pma111
  • 2
  • 2
5 Comments
 
LVL 13

Accepted Solution

by:
Guy Lidbetter earned 250 total points
ID: 40607512
Hi pma111,

Mailbox size limits are generally either set at the mailbox or database level. Each Mailbox will have a setting to either use the Database defaults or not, in which case it will use whatever is configured on the mailbox.

Best practice for setting mailbox limits really comes down to managing your storage, how much is available, how big you want your databases to grow etc... with 2013, mailboxes can now be 100GB, this is not to say its a good idea.

From the EMS you could run this command which will produce a CSV file with the information you require:

Get-Mailbox -ResultSize Unlimited | Select `
                        DisplayName,`
                        PrimarySmtpAddress,`
                        Database,`
                        UseDatabaseQuotaDefaults,`
                        IssueWarningQuota,`
                        ProhibitSendQuota,`
                        ProhibitSendReceiveQuota,`
                        UserPrincipalName,`
                        @{Label="TotalItemSize";Expression={$MBXStats = Get-MailboxStatistics $_.name; $MBXStats.TotalItemSize.Value.ToMB()}},`
                        @{Label="TotalDeletedItemSize";Expression={$MBXStats = Get-MailboxStatistics $_.name; $MBXStats.TotalDeletedItemSize}} `
      | Export-Csv filename.csv -NoTypeInformation -Force -Encoding UTF8



HTH

Guy
0
 
LVL 19

Assisted Solution

by:R--R
R--R earned 250 total points
ID: 40607513
0
 
LVL 3

Author Comment

by:pma111
ID: 40607562
Thanks Guy - but which field in the output of your command shows the "max mailbox size" limit?
0
 
LVL 13

Expert Comment

by:Guy Lidbetter
ID: 40607563
Hey! Justin is an old colleague of mine!

Great Guy! Never new he was online here!

@pma111 - ProhibitSendRecieveQuota  will prevent any more mail from going in or out the Mailbox, so is the top limit.

If you need further help formatting the output, i.e. displaying in GB or MB etc, just drop me a line.
0
 
LVL 3

Author Comment

by:pma111
ID: 40611113
Thanks Guy, will run this tommorow when can access the Server and see how I go! Appreciate the help!
0

Featured Post

Optimizing Cloud Backup for Low Bandwidth

With cloud storage prices going down a growing number of SMBs start to use it for backup storage. Unfortunately, business data volume rarely fits the average Internet speed. This article provides an overview of main Internet speed challenges and reveals backup best practices.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Learn to move / copy / export exchange contacts to iPhone without using any software. Also see the issues in configuration of exchange with iPhone to migrate contacts.
Find out what you should include to make the best professional email signature for your organization.
In this video we show how to create a Resource Mailbox in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: Navigate to the Recipients >> Resources tab.: "Recipients" is our default selection …
In this video we show how to create an Address List in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: First we need to log into the Exchange Admin Center. Navigate to the Organization >> Ad…

790 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question