Solved

Exchange 2010 SP1 Databases Limits--Powershell Script

Posted on 2012-04-13
3
693 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:kt KTAdmin
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:kt KTAdmin
ID: 37844623
Excellent results!

Thanks.
0

Featured Post

Are end users causing IT problems again?

You’ve taken the time to design and update all your end user’s email signatures, only to find out they’re messing up the HTML, changing the font and ruining the imagery. What can you do to prevent this? Find out how you can save your signatures from end users today.

Join & Write a Comment

Exchange server is not supported in any cloud-hosted platform (other than Azure with Azure Premium Storage).
This article will help you understand what HashTables are and how to use them in PowerShell.
In this video we show how to create a Distribution Group 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 >>…
This video discusses moving either the default database or any database to a new volume.

744 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

15 Experts available now in Live!

Get 1:1 Help Now