import-mailbox powershell applet and duplicate handling

Hi chaps,

Does anyone know what the syntax is for the import-mailbox powershell applet to control what happens when a duplicate is is present?

Basically i want to import emails from a pst to a users mailbox ONLY if they don't already exist in the users mailbox. If they do exist then I don't want to import them (though reporting the number of occurances would be good).

Any one know how to structure this.

Who is Participating?
Chris DentConnect With a Mentor PowerShell DeveloperCommented:
Hey Olly,

According to all the documentation Import-Mailbox will not import duplicate items into a mailbox. See:

I forget if it reports on any duplicate items at the end of an import run, been a while since I've run it.

Thanks, needed to know this also.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.