?
Solved

import-mailbox powershell applet and duplicate handling

Posted on 2009-07-08
2
Medium Priority
?
2,377 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 71

Accepted Solution

by:
Chris Dent earned 1000 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

Need protection from advanced malware attacks?

Look no further than WatchGuard's Total Security Suite, providing defense in depth against today's most headlining attacks like Petya 2.0 and WannaCry. Keep your organization out of the news with protection from known and unknown threats.

Question has a verified solution.

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

A project that enables an administrator to perform actions within a user session context not just at the time of login but any time later on day(s) or week(s) later.
In this post we will be converting StringData saved within a text file into a hash table. This can be further used in a PowerShell script for replacing settings that are dynamic in nature from environment to environment.
To add imagery to an HTML email signature, you have two options available to you. You can either add a logo/image by embedding it directly into the signature or hosting it externally and linking to it. The vast majority of email clients display l…
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…
Suggested Courses

762 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