• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 750
  • Last Modified:

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

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
siber1
Asked:
siber1
  • 3
  • 2
1 Solution
 
siber1Author Commented:
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
 
dekkarCommented:
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
 
siber1Author Commented:
thx dekkar, still getting used to all the EMS commands  

hey while i have you, can i ask a quick public folder question?
0
 
dekkarCommented:
I actually havent moved my public folders over.... but you can ask.... someone might know!
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now