[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 897
  • Last Modified:

Uncheck "Use Mailbox Store Defaults"

Is there a way to modify this script so that it will uncheck "Use mailbox store defaults" so that the setting can be applied?

Get-Content userlist.txt | Get-Mailbox | Set-mailbox -prohibitsendreceivequota YYYY
0
vhaperbaugub
Asked:
vhaperbaugub
  • 2
1 Solution
 
The_KirschiCommented:
I think you need to specify -ProhibitSendQuota and -IssueWarningQuota additionally at the same time (within the same command), because if you disable mailbox store defaults then also these to values need to be specified manually.
0
 
vhaperbaugubAuthor Commented:
The "Use Mailbox Store Defaults" box remains checked even though I added the other perameters that you suggested.
0
 
The_KirschiCommented:
Ok, I was wrong. Actually if you want the "Use Mailbox Store Defaults" box to be cleared you need to specify "... Set-mailbox -usedatabasequotadefaults 0" to disable it. Use "1" to enable. But...

I played a little bit with this and found that the "-ProhibitSendQuota" also takes effect when the Database defaults checkbox is still enabled. In OWA and also Outlook 2003 without cached mode it took effect immediately while in Outlook 2010 (cache mode enabled) I am still able to send mail in this very moment. So here is some kind of inconsistency. Found an article about that (but Ex 2007):

http://technet.microsoft.com/en-us/library/bb684892%28EXCHG.80%29.aspx


I did not try the "-prohibitsendreceivequota" option this way but expect it to work identical.

Hope this now helps you.
0

Featured Post

Making Bulk Changes to Active Directory

Watch this video to see how easy it is to make mass changes to Active Directory from an external text file without using complicated scripts.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now