Exchange 2007 Exchange Management Shell
Hi, Which cmdlet to use if I want to disable mailbox quota for all users in an OU?
September 24th, 2008 4:09am

Do we first have to flush out existing per-user settings, or you just want to set each user to override the store defaults?
Free Windows Admin Tool Kit Click here and download it now
September 24th, 2008 4:37am

Code Snippet Get-Mailbox -OrganizationalUnit MyOU | Set-Mailbox -UseDatabaseQuotaDefaults $false If your OU isn't unique you'll have to use the full path like: "contoso.com/MyOU" Anyway, this should work unless you want to first clear out any custom settings that might exist. if so, be sure to set: IssueWarningQuota ProhibitSendReceiveQuota ProhibitSendQuota to "unlimited"
September 24th, 2008 4:44am

Here you go... Code Snippet Get-Mailbox OrganizationalUnit YourOU | Set-Mailbox UseDatabaseQuotaDefaults $False Set existing quota to unlimited if anything is set. Code Snippet Get-Mailbox OrganizationalUnit YourOU | Set-Mailbox UseDatabaseQuotaDefaults $False -IssueWarningQuota unlimited ProhibitSendQuota unlimited -ProhibitSendReceiveQuota unlimited
Free Windows Admin Tool Kit Click here and download it now
September 24th, 2008 4:46am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics