Skip to content


Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?

Latest commit


Git stats


Failed to load latest commit information.


Getting Started

This script will scan each folder of a given primary mailbox and personal archive (when configured, Exchange 2010 and later) and removes duplicate items per folder. You can specify how the items should be deleted and what items to process, e.g. mail items or appointments. Sample scenarios are misbehaving 3rd party synchronization tool creates duplicate items or (accidental) import of PST file with duplicate items.


For more information on this script, as well as usage and examples, see the related blog article, Removing Duplicate Items from a Mailbox.


This project is licensed under the MIT License - see the for details.