Link to home
Start Free TrialLog in
Avatar of matt
mattFlag for United States of America

asked on

Exchange 2010- MailBoxImportRequest

I have a user that after a migration is missing mail due to corruption. I can access the old server offline, open outlook attached to that offline server and create a PST file. Then copy the PST to a thumbdrive, move it to a shared location on a server on the production network and run the following command...

New-MailboxImportRequest -Mailbox USER -FilePath \\EXCHANGE\Public\pst\USER.pst

This all works, I have done it for a couple other machines, but the users had so much corruption that I just wiped out the inbox and started over. This user has some data, just not all of it, that transfered, plus they are also receiving New Email as of today.

the Question:
if I run the above command to import that data, will it overwrite or append to the existing mailbox in use? I'm wanting to append...
Avatar of lucid8
lucid8
Flag of United States of America image

By default, the import checks for duplication of items and doesn't copy the data from the .pst file into the mailbox or archive if a matching item exists in the target mailbox or target archive.  If you wanted to change that you should look at the ConflictResolutionOption http://technet.microsoft.com/en-us/library/ff607310.aspx
OK a few things


1. What service pack are you on?

2. Run the cmdlet Get-Mailbox <user> | fl RetainDeletedItemsFor to check your retention period on the user in question

Also please note that  "calendar items are maintained in the Recoverable Items folder structure for 120 days.

3. Search-mailbox should do it with the SearchDumpsterOnly and DeleteContent switch

Check out http://technet.microsoft.com/en-us/library/ff678798.aspx and  http://technet.microsoft.com/en-us/library/dd298173.aspx

Search-mailbox -identity <alias> -SearchDumpsterOnly -DeleteContent
ASKER CERTIFIED SOLUTION
Avatar of matt
matt
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
You certainly could delete the PST, however i would suggest that you archive it somewhere in case a user comes to you and say my xyz is missing and its your fault or or crud i deleted 123 from last year help me....

basically I save everything for several weeks after a situation like this as a CYA....
Avatar of matt

ASKER

resolved with importing the pst into exchange