Solved

how can i set a quota policy for all mailbox on an exchange 2010 database?

Posted on 2010-11-15
5
742 Views
Last Modified: 2012-05-10
can someone provide a powershell command to set the personal archive quota limit for all mailboxes on a database?
i have the command to do this on a per mailbox basis, but we have thousands of mailboxes, so this is not an efficient way of doing it.

thx - S.
0
Comment
Question by:siber1
  • 3
  • 2
5 Comments
 
LVL 11

Expert Comment

by:dekkar
ID: 34141614
0
 

Author Comment

by:siber1
ID: 34141717
Hi dekkar, actually i was referring specifically to the "personal archive" quota limit for all users on a database? i can't seem to find a way to set that at the DB level.
this EMS command works fine on a per mailbox basis:
Set-Mailbox –Identity “2010test” –ArchiveQuota 4GB –ArchiveWarningQuota 3750MB

but, i cant see doing that for 1000 mailboxes  : )
0
 
LVL 11

Accepted Solution

by:
dekkar earned 500 total points
ID: 34141779
Why not? Give you something to do over the weekend!! ;)


ehhehe

Can you just put a group name into the identity rather than a user?


Or look at this command:


Get-Mailbox -Database "dbname" | Set-Mailbox –ArchiveWarningQuota” 900MB"

If you want all of your users to have the same limit, run Get-Mailbox | Set-Mailbox –ArchiveWarningQuota” 900MB"
0
 

Author Comment

by:siber1
ID: 34141864
thx dekkar, still getting used to all the EMS commands  

hey while i have you, can i ask a quick public folder question?
0
 
LVL 11

Expert Comment

by:dekkar
ID: 34142056
I actually havent moved my public folders over.... but you can ask.... someone might know!
0

Featured Post

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

Question has a verified solution.

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

This script can help you clean up your user profile database by comparing profiles to Active Directory users in a particular OU, and removing the profiles that don't match.
This article describes my battle tested process for setting up delegation. I use this process anywhere that I need to setup delegation. In the article I will show how it applies to Active Directory
This video demonstrates how to sync Microsoft Exchange Public Folders with smartphones using CodeTwo Exchange Sync and Exchange ActiveSync. To learn more about CodeTwo Exchange Sync and download the free trial, go to: http://www.codetwo.com/excha…
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.

821 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