Solved

import-mailbox powershell applet and duplicate handling

Posted on 2009-07-08
2
2,343 Views
Last Modified: 2012-05-07
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.

Olly
0
Comment
Question by:stonneway
2 Comments
 
LVL 70

Accepted Solution

by:
Chris Dent earned 250 total points
ID: 24803052
Hey Olly,

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

http://technet.microsoft.com/en-us/library/bb691363.aspx

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

Chris
0
 
LVL 10

Expert Comment

by:ThorinO
ID: 35327850
Thanks, needed to know this also.
0

Featured Post

Does Powershell have you tied up in knots?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article explains in simple steps how to renew expiring Exchange Server Internal Transport Certificate.
A procedure for exporting installed hotfix details of remote computers using powershell
To show how to create a transport rule in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: First we need to log into the Exchange Admin Center. Navigate to the Mail Flow >> Rules tab.:  To cr…
how to add IIS SMTP to handle application/Scanner relays into office 365.

785 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question