cancel
Showing results for 
Search instead for 
Did you mean: 
AKL
Level 6
Certified

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
SVikas
Not applicable
Certified

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-monitoring-journal-mailboxes/

Version history
Last update:
‎08-22-2012 03:34 PM
Updated by: