Solved

Exchange 2010 SP1 Databases Limits--Powershell Script

Posted on 2012-04-13
3
726 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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 70

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

What, When and Where - Security Threats from Q1

Join Corey Nachreiner, CTO, and Marc Laliberte, Information Security Threat Analyst, on July 26th as they explore their key findings from the first quarter of 2017.

Question has a verified solution.

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

Recently we ran in to an issue while running some SQL jobs where we were trying to process the cubes.  We got an error saying failure stating 'NT SERVICE\SQLSERVERAGENT does not have access to Analysis Services. So this is a way to automate that wit…
This article will help to fix the below errors for MS Exchange Server 2013 I. Certificate error "name on the security certificate is invalid or does not match the name of the site" II. Out of Office not working III. Make Internal URLs and Externa…
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…
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…
Suggested Courses

617 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