assign mailbox limits based on department
Hello,
I have a need to establish mailbox limits for specific divisions in our organization, which means I cannot do it at the store level. Is there a Way I can create a policy of some kind that will allow my to set limits based on the value in the department field
of the Mailbox User's account?
Exchange 2007, latest SP and all patches applied
Thanks
Christiaan
September 28th, 2010 11:10am
I don't think there's anywhere to set that as a policy. You can use a powershell script to set them based on department field, and schedule the script to run periodically.[string](0..33|%{[char][int](46+("686552495351636652556262185355647068516270555358646562655775 0645570").substring(($_*2),2))})-replace " "
Free Windows Admin Tool Kit Click here and download it now
September 28th, 2010 11:51am
Yes, You can use powershell to achive this ! Use below cmdlet given below
Gett-User -Filter {((Title -like '*Manager*') -or (Title -like '*VP*') -or (Title -like '*Officer*') -or (Department -eq 'Marketing')) -and (RecipientTypeDetails -eq 'UserMailbox')} | Set-Mailbox -IssueWarningQuota 450MB -ProhibitSendQuota 500MB -ProhibitSendReceiveQuota
unlimited -UseDatabaseQuotaDefaults $false
http://technet.microsoft.com/en-us/library/bb310752(EXCHG.80).aspxAnil
September 28th, 2010 12:05pm
However, you'll need to schedule that to run periodically because it sets a static entry on each mailbox at the time it runs. When new mailboxes are created, they won't automatically get those settings.Ed Crowley MVP "There are seldom good technological solutions to behavioral problems."
Free Windows Admin Tool Kit Click here and download it now
September 28th, 2010 12:12pm
Thanks for the info.
I figured this is how it would have to work, and that there is no way to have it dynamically update new mailboxes without scheduling it to run.
Christiaan
September 28th, 2010 12:30pm