Monthly Archives: November 2009

-AllowDuplicates – The switch you must know about using Import-Mailbox

4
Filed under Exchange 2007

I am currently working on a case for a customer where mailboxes were migrated using PST’s from one service provider to another.

After importing the PST’s to the new mailboxes using Import-Mailbox, users started complaining that they were missing items in their mailboxes.

After investigating I found that duplicate items are removed “by default” using Import-Mailbox. You need to manually set the -AllowDuplicates switch in order to skip duplicate item detection. In fact this is the case for every item level manipulating command (Export-Mailbox, Import-Mailbox, Restore-Mailbox, Move-Mailbox).

Unfortunately in my case the missing items were discovered too late in order to start from scratch and import the PST’s with the AllowDuplicates switch set.

Using Exchange Management Shell, you have the option to set the switch, but when moving mailboxes using Exchange Management Console you are left with the default setting, which will remove duplicates without your notice.

The duplicate item check is performed against the PR_SEARCH_KEY, which is unique until the item is copied. Once the item is copied to e.g. another folder, the PR_SEARCH_KEY will exist twice in the mailbox, thus you end up having duplicate items. When importing, moving, exporting or restoring without the AllowDuplicates switch set, only the newest item is kept according to the description I have received from Microsoft.

The -AllowDuplicates switch was implemented in SP1 RU5.
This comment applies for this change,  how it worked before and how it works with the new switch.

Previously the merge into the destination folder worked like this:
We check if the hash (PR_SEARCH_KEY) of the first item’s to be copied is in the destination folder’s hash table.
If it’s not there then it will be copied.

If it’s there then we check the last modification time. If the modification time of the destination is newer then we skip the item.

When “allow duplicate” is set then we simply skip the duplicate detection.

In my opinion –AllowDuplicates should be set by default, giving you the choice to remove duplicates instead.

Hopefully this article will save some of you for extra work developing scripts to fix the problem once the mailboxes are imported and in production as they were in my case.

~Christian

Microsoft Exchange Server 2010 Transport Server Role Architecture Diagrams

0
Filed under Exchange 2010

Many components are involved in the transport of messages through the Exchange Server 2010 mail flow pipeline. The Hub Transport server role diagram can help you understand the role each component plays in the processing of messages that enter the Exchange 2010 mail flow pipeline. Exchange administrators can use this information to help diagnose mail flow problems. The Hub Transport extensibility diagram can help you understand how the agents process a message that is in the Exchange 2010 mail flow pipeline. Developers can use this information to help create third-party agents and applications to work with Exchange 2010.

Download here

Update Rollup 1 for Exchange Server 2007 SP2 released

0
Filed under Exchange 2007

Update Rollup 1 for Exchange Server 2007 Service Pack 2 (SP2) resolves issues that were found in Exchange Server 2007 SP2 since the software was released. This update rollup is highly recommended for all Exchange Server 2007 SP2 customers.

For a list of changes that are included in this update rollup, see KB971534

Download details for Update Rollup 1 for Exchange Server 2007 Service Pack 2 (KB971534)

Exchange 2010 Mailbox Server Role Requirements Calculator

0
Filed under Exchange 2010

Download here

Exchange Server 2010 is now available for download

0
Filed under Exchange 2010

The Exchange Server 2010 bits are now available for download