Video Screencast Help
Symantec to Separate Into Two Focused, Industry-Leading Technology Companies. Learn more.

Monitoring Exchange Journal Mailboxes

Created: 22 Aug 2012 • Updated: 23 Aug 2012 | 1 comment
AKL's picture
0 0 Votes
Login to vote

Hello All

I am creating this article based on suggestion on below forum, it is basically same thing which is presented in a better way. :-)

https://www-secure.symantec.com/connect/forums/powershell-monitoring-exchange-journal-mailboxes

As you all know, powershell is very powerful tool and can do or achieve anything you wish for (with bit of efforts of course ;-).. This article describes and shares how you can monitor journal mailboxes on Exchange for archiving rate and making sure EV journal archiving is keeping up ensuring that there's no backlog on Exchange journal databases.

How does this works:

  1. Script takes input from a txt file JournalServer.txt which can contain single or multile Exchange journaling server names as required.
  2. Script determines necessary database & mailbox statistics / information into a HTML file.
  3. Script marks any red area for example if number of items in journal mailbox is higher than 200000 OR if size of mailbox is more than 2GB.
  4. Script saves the HTML file and sends it over email using anonymous authenitcation using Exchange server.

What you can add:

  1. You can add more values which you need to monitor journaling on as required.
  2. You can probably reduce some redundancy within script itself.
  3. You can change the threshold level by changing threshold variables defined at start of script as per your requirement.
  4. You can create batch file script that calls for Powershell & PS1 file and run it on scheduled basis.
  5. You can add more action items to it as required. It's Powershell - There can be no counted options to do with it. :-)

Point to note here though is that, this script uses Exchange management shell DLLs, so you'll have to run this script from a workstation which has Exchange management tools installed and can connect to Exchange journaling server to pull the required statistics.

Please find the script, sample txt file & sample output file attached with this article. Hopefully this helps and I am here for any questions in this direction.

Comments 1 CommentJump to latest comment

SVikas's picture

We have written a nice script for monitoring the journal Mailboxes

This monitors the mailboxes & if they have items more than 15000 than it sends alerts

http://msexchange.me/2014/10/31/powershell-for-mon...

0
Login to vote