Mailbox Size Threshold
Is there a way for Exchange to throw out an EVENT in the Event log when the size of a users mailbox crosses a pre-set threshold? Say 500MB?
October 28th, 2009 3:47pm

I am not aware if any body else other then the user , who can get the mail bxo quota notification. just check this , might not resolve but can give you an ideahttp://searchexchange.techtarget.com/expert/KnowledgebaseAnswer/0,289625,sid43_cid591138_mem1,00.htmlRaj
Free Windows Admin Tool Kit Click here and download it now
October 28th, 2009 3:54pm

If that is the treshold set on the SEND / Recieve limits for the mailbox, then you can set diags on the MSExchangeIS\9000 Private\Storage Limits log entity and it should fire.
October 28th, 2009 4:13pm

You could create a script to periodically check the mailbox sizes against the treshold and generate events, or you can create a transport rule with a "log an event" action which triggers (based on text in subject/body) when the notification is send to the user. But that might cause load on your Hub severs and you need to collect the events from the Hub servers'eventlog.
Free Windows Admin Tool Kit Click here and download it now
October 28th, 2009 6:39pm

A script is definately what I am looking for, however I have no scripting abilities...any suggestions?
October 28th, 2009 6:56pm

Have you looked into third party reporting tools like Promodag http://promodag.com or MailScape by ENOW http://www.enowconsulting.com/mailscape/overview.asp ? You can schedule daily reporting with these tools.
Free Windows Admin Tool Kit Click here and download it now
October 28th, 2009 7:33pm

Hi, When a user mailbox reach the limit, you should see the event 8528 in the event log. Event Type: Warning Event Source: MSExchangeIS Event Category: General Event ID: 8528 Date: 5/18/2009 Time: 1:04:25 PM User: N/A Computer: MBX Description: The mailbox for /o=Test Organization/ou=Exchange Administrative Group (FYDIBOHF23SPDLT)/cn=Recipients/cn=xxx has exceeded the maximum mailbox size. This mailbox cannot send or receive messages. Incoming messages to this mailbox are returned to sender. The mailbox owner should be notified about the condition of the mailbox as soon as possible. Thanks, Elvis
October 29th, 2009 10:54am

Unfortunately, there is no send/recieve restrictive limit set. I am just wanting something to detect when a user's box is reaching a certain size threshold...no more, no less...
Free Windows Admin Tool Kit Click here and download it now
October 29th, 2009 8:22pm

Hi, Exchange doesnt have such a feature. You may need to develop it yourself. If you need help on development of Exchange, you could write a post on the following forum: http://social.technet.microsoft.com/Forums/en-US/exchangesvrdevelopment/threads Thanks, Elvis
November 4th, 2009 11:15am

In PowerShell, you could do something like (threshold 500MB)Get-MailboxServer | Get-MailboxStatistics | Where {$_.TotalItemSize -gt 500MB} |Sort-Object -Property TotalItemSize -Descending | Format-Table DisplayName,TotalItemSizeYou can use the output as an attachment in an e-mail.
Free Windows Admin Tool Kit Click here and download it now
November 4th, 2009 2:17pm

On Wed, 28-Oct-09 12:47:41 GMT, DanCummings wrote:>Is there a way for Exchange to throw out an EVENT in the Event log when the size of a users mailbox crosses a pre-set threshold? Say 500MB? Powershell can write to the event logs.http://winpowershell.blogspot.com/2006/07/writing-windows-events-using.htmlPowershell can tell you the size of a mailbox:(Get-MailboxStatistics username).totalitemsize.value.tomb()Combine the two with some other statements to select the mailboxes youwant in a script and schedule it to run periodically.---Rich Matheisenange MVP--- Rich Matheisen MCSE+I, Exchange MVP
November 5th, 2009 6:16am

Here is the finished product for informations sake:get-mailboxstatistics | Where {$_.TotalItemSize -gt 475MB} | select-object DisplayName,@{name= "Size";expression={$_.TotalItemSize.Value.ToMB()}} [string]$FailBoxes = @() $Threshold = 475 foreach ($MB in (get-mailboxstatistics)) { [int]$MBSize = $MB.TotalItemSize.Value.ToMB() if ($MBSize -ge $Threshold) { $FailBoxes +=$MB.Displayname ,$MB.TotalItemSize.Value.ToMB()+"MB"$FailBoxes +="`n" } } $evt=new-object System.Diagnostics.EventLog("Application") $evt.Source="Exchange Mailbox Size" $infoevent=[System.Diagnostics.EventLogEntryType]::Information $evt.WriteEntry("`n `nThe Following Mailboxes Have Crossed The Warning Size Threshold (475MB):`n `n$Failboxes",$infoevent,55501)
Free Windows Admin Tool Kit Click here and download it now
November 9th, 2009 7:46pm

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

Other recent topics Other recent topics