Solved

Exchange 2010 SP1 Databases Limits--Powershell Script

Posted on 2012-04-13
3
707 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 69

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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

This article lists the top 5 free OST to PST Converter Tools. These tools save a lot of time for users when they want to convert OST to PST after their exchange server is no longer available or some other critical issue with exchange server or impor…
The Nano Server Image Builder helps you create a custom Nano Server image and bootable USB media with the aid of a graphical interface. Based on the inputs you provide, it generates images for deployment and creates reusable PowerShell scripts that …
In this video we show how to create a User Mailbox 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 >> Mailb…
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…

861 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