Forum Discussion
padamssm
Aug 26, 2020Copper Contributor
DELETE DUPLICATE EMAILS
I would like to know the easiest way in order for me to delete multiple emails under my Microsoft Exchange Accounts
- AllardBeerthuizenBrass Contributor
Maybe this PowerShell script from Michael de Rooy in the TechNet Gallery will help you.
https://gallery.technet.microsoft.com/office/Removing-Duplicate-Items-f706e1cc- padamssmCopper Contributor
AllardBeerthuizen Thank you for pointing me to the Delete Duplicate Emails script. I must be doing something wrong. I downloaded the file "Remove-DuplicateItems.ps1" and double-clicked on it. It's a text file that describes the script. I went to (external link removed by moderator) and read Michel de Rooij's article. In a Cmd window I ran "Remove-DuplicateItems.ps1 -Identity Patricia -Type Mail -Retain oldest -DeleteMode MoveToDeletedItems" in the directory that "Remove-DuplicateItems.ps1" is located, copying the format of the script Michel ran in his example. Nothing happened. No error, no messages of any kind, no files in my Deleted folder, and duplicates are still in my Inbox. What am I doing wrong?
Patricia