Exchange 2010 Storage Quota Settings -- Powershell question

Anthony K O365
Anthony K O365 used Ask the Experts™
on
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.
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
IT Infrastructure Architect
Commented:
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
False
Anthony K O365Messaging Consulting

Author

Commented:
Subsun,

What if UseDatabaseQuotaDefaults shows nothing in the value section of get-mailbox cmdlet?
Success in ‘20 With a Profitable Pricing Strategy

Do you wonder if your IT business is truly profitable or if you should raise your prices? Learn how to calculate your overhead burden using our free interactive tool and use it to determine the right price for your IT services. Start calculating Now!

Subash SundharanIT Infrastructure Architect

Commented:
Typically the value is set to either False or True.. Null can be considered as False..
Anthony K O365Messaging Consulting

Author

Commented:
Excellent!!
Subash SundharanIT Infrastructure Architect

Commented:
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.)

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial