Solved

Exchange 2010 SP1 Databases Limits--Powershell Script

Posted on 2012-04-13
3
697 Views
Last Modified: 2012-04-13
I have 24 Databases in a 3 server DAG. I would like to set storage limits on them with all the same Issue Warning, Prohibit Send, and Prohibit Send and Rec'v settings. Please provide a powershell script that will do this.

Thank you!
0
Comment
Question by:K Anthony O365
3 Comments
 
LVL 17

Assisted Solution

by:Anuroopsundd
Anuroopsundd earned 250 total points
ID: 37843671
The Set-MailboxDatabase cmdlet is used to set default quotas on a mailbox database using the PowerShell command line.
This command will set the default warning quota on the database “Mailbox Database” on server EXCHANGE01 to 975MB, and the limit at which users will no longer be able to send mail to 1000MB:
 Set-MailboxDatabase “EXCHANGE01\Mailbox Database” -IssueWarningQuota 975MB -ProhibitSendQuota 1000MB


http://www.simple-talk.com/sysadmin/powershell/managing-exchange-2007-mailbox-quotas-with-windows-powershell/
0
 
LVL 68

Accepted Solution

by:
Qlemo earned 250 total points
ID: 37843708
If you combine that with the cmdlet to get all databases of a domain, you should have all you need:
get-mailboxdatabase -DomainController FQDN.Of.DC | set-mailboxdatabase -IssueWarningQuota ...

Open in new window

0
 

Author Closing Comment

by:K Anthony O365
ID: 37844623
Excellent results!

Thanks.
0

Featured Post

[Webinar] Disaster Recovery and Cloud Management

Learn from Unigma and CloudBerry industry veterans which providers are best for certain use cases and how to lower cloud costs, how to grow your Managed Services practice in IaaS clouds, and how to utilize public cloud for Disaster Recovery

Question has a verified solution.

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

This process describes the steps required to Import and Export data from and to .pst files using Exchange 2010. We can use these steps to export data from a user to a .pst file, import data back to the same or a different user, or even import data t…
Scam emails are a huge burden for many businesses. Spotting one is not always easy. Follow our tips to identify if an email you receive is a scam.
In this video we show how to create a Contact 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 Recipients >> Contact ta…
In this video we show how to create an email address policy 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 Mail Flow…

912 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

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now