Removing duplicate items
Removing duplicate items from Office 365 and Live Exchange server

Migrate using EdbMails and Avoid duplicates forever
Know More
Download Script from GitHub
Note:
It is highly recommended to follow the README file available inside the code folder before executing the scripts.
Perform the below steps on a test environment before you execute it on production.
Commands to Run PowerShell script file (Remove-DuplicateItems.ps1) to remove duplicate items from Live Exchange Server
Removing the duplicate items from the mailbox
.\Remove-DuplicateItems.ps1 -Identity Francis -Type All -Impersonation -DeleteMode SoftDelete -Mode Quick -Verbose
Check Francis' mailbox for duplicate items in each folder, soft deleting duplicates, matching on PidTagSearchKey and using impersonation.
Removing the duplicate items from the mailbox and moving to Deleted Items folder
.\Remove-DuplicateItems.ps1 -Identity Philip -Retain Oldest -Type Mail -Impersonation -DeleteMode MoveToDeletedItems -Mode Full -Verbose
Check Philip's mailbox for duplicate task items in each folder and moves duplicates to the Deleted Items folder, using preset matching criteria and impersonation. When duplicates are found, the oldest is retained.
Commands to Run PowerShell script file (Remove-DuplicateItems.ps1) to remove duplicate items from Office 365
Removing the duplicate items of office365 mailbox
$Credentials= Get-Credential
.\Remove-DuplicateItems.ps1 -Identity olrik@office365tenant.com -Credentials $CredentialsSets $Credentials variable. Then, check olrik@office365tenant.com's mailbox for duplicate items in each folder, using Credentials provided earlier.
Removing the duplicate items from the specific folder
$Credentials= Get-Credential
.\Remove-DuplicateItems.ps1 -Identity olrik@office365tenant.com -Server outlook.office365.com -Credentials $Credentials
-IncludeFolders '#Inbox#','Archive*' -ExcludeFolders '#Inbox#'Remove duplicate items from specified mailbox in Office365 using fixed FQDN - bypassing AutoDiscover, limiting operation against folders containing 'In' or starting with 'Archive', but don't remove duplicates from the Well-Known Folder 'Inbox'.
EdbMails Demo / Trial Version
Step 1. Download and install EdbMails
Step 2. Click the 'Start Your Free Trial' button
You have selected Personal Bundle license. Using this license, you can recover and export EDB files,
PST files and OST files to PST. For
Office 365 and Live Exchange Migration, choose the suitable plan.

Hi, May I help you?
Hide Chat Now