Home > Part 6: How to create Exchange 2007 journaling rules with Exchange Management Shell
Tutorial:
EMAIL THIS LICENSING & REPRINTS

Part 6: How to create Exchange 2007 journaling rules with Exchange Management Shell

01 Aug 2007 | SearchExchange.com

Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   

Managing Exchange Server 2007 journaling rules through the Exchange Management Console is simple. But you also have the option of using the Exchange Management Shell's New-JournalRule syntax to create journaling rules from the command line.

Like most Exchange Management Shell commands, there are a number of parameters that can be used in conjunction with the command. Only two of these parameters are required though; the rest are optional.

At a minimum, Exchange Server 2007 requires you to specify a name for the journaling rule you create and the email address to which journal reports will be sent.

The syntax for creating a basic rule using the minimal set of parameters is:

New-JournalRule –Name <the name of the rule> -JournalEmailAddress <mailbox to which reports should be sent>

In the above syntax, the Name parameter is used to specify the name of the Exchange 2007 journaling rule and the JournalEmailAddress parameter is used to specify the email address that reports should be sent to. For example, if you wanted to create a rule named Contoso, and wanted to send the reports to Brien@contoso.com, the command would look like this:

New-JournalRule –Name "Contoso" –JournalEmailAddress Brien@contoso.com

The command will only work if the email address specified exists within the Exchange Server organization. You cannot specify an external address or a mailbox that you haven't created yet.

Additionally, it doesn't really do much by itself. There are three other parameters that you can use to create a rule that is more functional.

Below is a list of the optional parameters and their functions:

  • -Recipient: The recipient SMTP address to be journaled.

  • -Scope: The scope of the rule that you are creating (Internal, External, or Global).

  • -Enabled: Whether or not the rule is enabled. This parameter must be specified as ether $True or $False.

Below is an example that illustrates how these additional parameters can be used in conjunction with the first command that I outlined in this section of the tutorial:

New-JournalRule –Name "Contoso" –JournalEmailAddress "Brien@contoso.com" –Recipient Finance@contoso.com –Scope Global –Enabled $True


EXCHANGE SERVER 2007 JOURNALING TUTORIAL

 Home: Introduction
 Part 1: An overview of Exchange 2007 journaling rule scopes
 Part 2: Compliance considerations for Exchange 2007 journal mailboxes
 Part 3: How to enable the Exchange Server 2007 journaling agent
 Part 4: How to create an Exchange 2007 journaling rule
 Part 5: How to modify, disable or delete an Exchange 2007 journaling rule
 Part 6: How to create journaling rules with Exchange Management Shell

ABOUT THE AUTHOR:   
Brien M. Posey, MCSE
Brien M. Posey, MCSE, is a Microsoft Most Valuable Professional for his work with Exchange Server, and has previously received Microsoft's MVP award for Windows Server and Internet Information Server (IIS). Brien has served as CIO for a nationwide chain of hospitals and was once responsible for the Department of Information Management at Fort Knox. As a freelance technical writer, Brien has written for Microsoft, TechTarget, CNET, ZDNet, MSD2D, Relevant Technologies and other technology companies. You can visit Brien's personal Web site at http://www.brienposey.com.


Sound Off! -   Be the first to post a message to Sound Off!


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   


RELATED RESOURCES
2020software.com, trial software downloads for accounting software, ERP software, CRM software and business software systems
Search Bitpipe.com for the latest white papers and business webcasts
Whatis.com, the online computer dictionary


HomeNewsTopicsITKnowledge ExchangeTipsAsk the ExpertsMultimediaWhite PapersIT Downloads
About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
SEARCH 
TechTarget provides enterprise IT professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective IT purchase decisions and managing their organizations' IT projects - with its network of technology-specific Web sites, events and magazines.

TechTarget Corporate Web Site  |  Media Kits  |  Reprints  |  Site Map




All Rights Reserved, Copyright 2004 - 2008, TechTarget | Read our Privacy Policy
  TechTarget - The IT Media ROI Experts