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.
siber1Asked:
Who is Participating?
 
dekkarConnect With a Mentor Commented:
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:
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
 
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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.