Exchange Ideas - Daniel Kenyon-Smith

I’m a Messaging consultant working for Microsoft Consultancy Services in the UK. Find out about all the latest technology, news, tips and tricks in the world of messaging and much more!

July, 2009

  • A Guide to Migrating Public Folders to SharePoint

    Check out the WindowsITPro ‘Guide to Migrating Public Folders to SharePoint’ well worth a read

    Written By Daniel Kenyon-Smith

  • Relocate the ADAM (Lightweight Directory Services (AD LDS))

    In order to relocate the ADAM database and logs on Edge you need edit the ConfigureAdam.PS1 to update the location of dsbutil.exe as shown below

    image


    Then for example run:-

    configureAdam.PS1 –logpath:”E:\Program Files\Microsoft\Exchange Server\TRansportRoles\Data\Adam –DataPath:”D:\Program Files\Microsoft\Exchange Server\TRansportRoles\Data\Adam

    This will relocate the logs and database to the locations specified

    Written By Daniel Kenyon-Smith

  • DatabaseMaxCacheSize

    In Exchange 2007 SP1 the default database cache size is set to 128MB, to allow for better cache growth. The new guidance is to increase the DatabaseMaxCacheSize from 128MB to 512MB (on Hub Transport servers with more than 4GB of RAM)

    This can be done editing the EdgeTransport.exe.config file as shown below:-

    image

    More details can found on Microsoft Exchange Team Blog

    Written by Daniel Kenyon-Smith

  • Transport Rules

    Whilst working for a customer they had a specific requirement to apply a disclaimer to all outbound mail e.g. not to apply disclaimers to mail sent to other users within the Exchange organisation. Their requirement also included to only apply the disclaimer if it had not already been applied (or where it contained the same text). So i created a powershell script to do this:-

     

    Get-TransportRulePredicate SubjectOrBodyContains

    $Action = get-TransportRuleAction ApplyDisclaimer

    $Action.Text = “my test disclaimer”

    Get-TransportRulePredicate SubjectOrBodyContains

    $Exception = Get-TransportRulePredicate SubjectOrBodyContains

    $Exception.Words = @("My test disclaimer”)

    $Condition = Get-TransportRulePredicate SentToScope

    $Condition.Scope = "NotInOrganization"

    New-TransportRule –Name “My test” –Action @($Action) –Exception @($Exception) –Condition @($Condition)

     

    Written by Daniel Kenyon-Smith