Improve company productivity with a Business Account.Sign Up


Exchange 2010 Storage Quota Settings -- Powershell question

Posted on 2012-12-26
Medium Priority
Last Modified: 2012-12-26
Trying to understand the meaning of the Powershell term 'Unlimited' for users whose storage quota setting is set to Default. "Unlimited" also shows for users whose storage quota is truly set to unlimited and not using the database defaults.
Question by:Anthony K O365
  • 3
  • 2
LVL 18

Expert Comment

by:Sushil Sonawane
ID: 38721143
LVL 40

Accepted Solution

Subsun earned 2000 total points
ID: 38721192
When you check the Storage Quota of a mailbox in powershell, you need to check two values.. ProhibitSendReceiveQuota and UseDatabaseQuotaDefaults

In following example UseDatabaseQuotaDefaults set to True, so the ProhibitSendReceiveQuota value can be ignored. Limits set on Database will take precedence.

ProhibitSendQuota                  : unlimited
ProhibitSendReceiveQuota           : unlimited
UseDatabaseQuotaDefaults           : True
TrueThis example UseDatabaseQuotaDefaults set to False, so the ProhibitSendReceiveQuota is valid.

ProhibitSendQuota                  : unlimited
ProhibitSendReceiveQuota           : unlimited
UseDatabaseQuotaDefaults           : False

Author Comment

by:Anthony K O365
ID: 38721263

What if UseDatabaseQuotaDefaults shows nothing in the value section of get-mailbox cmdlet?
Building an Effective Phishing Protection Program

Join Director of Product Management Todd OBoyle on April 26th as he covers the key elements of a phishing protection program. Whether you’re an old hat at phishing education or considering starting a program -- we'll discuss critical components that should be in any program.

LVL 40

Expert Comment

ID: 38721312
Typically the value is set to either False or True.. Null can be considered as False..

Author Closing Comment

by:Anthony K O365
ID: 38721593
LVL 40

Expert Comment

ID: 38721875
There is a correction..
I have done some testing by setting the UseDatabaseQuotaDefaults of user mailbox to $null. It appears that, even the GUI and PowerShell shows the mailbox limit is set as Unlimited, the actual limit applied to mailbox is from database. Which means Null is considered as True (If any mailbox is set to UseDatabaseQuotaDefaults as null, then the limits set on Database will take precedence.)

Featured Post

Simplify Active Directory Administration

Administration of Active Directory does not have to be hard.  Too often what should be a simple task is made more difficult than it needs to be.The solution?  Hyena from SystemTools Software.  With ease-of-use as well as powerful importing and bulk updating capabilities.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

This is a very interesting topic. Ransomware has been around for a while but has increased drastically over the last year or so.
Fix RPC Server is unavailable Error in Exchange 2013, 2010, 2007, and 2003 Server. Different reason can such as network connectivity issue, name resolution issue, firewall, registry corruption that lead to RPC Server Unavailable error.
how to add IIS SMTP to handle application/Scanner relays into office 365.
Watch the video to know how one can repair corrupt Exchange OST file effortlessly and convert OST emails to MS Outlook PST file format by using Kernel for OST to PST converter tool. It can convert OST to MSG, MBOX, EML to access them. It can migrate…

579 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