The attached RemoveDuplicatesInExchOnPrem.zip file contains the following:
Logger.dll
mailboxes.txt - file containing mailbox list to check
Microsoft.Exchange.WebServices.dll
Microsoft.Exchange.WebServices.xml
RemoveDuplicatesInExchOnPrem.exe.txt - Executable file (remove the .txt extension)
RemoveDuplicatesInExchOnPremMailbox.exe.txt - Executable file (remove the .txt extension)
run.cmd.txt - Cmd file to run the executables (remove the .txt extension)
The run.cmd shoule be edited as required with a character based editor such as Notepad. It currently contains the line:
RemoveDuplicatesInExchOnPrem.exe vake2k10scust16.scust16.local 1 mailboxes.txt administrator@scust16.local cust1 500 0
~Where:
***.local –Exchange server name
1 – exchange server version Exchange version (Exchange2007_SP1 = 0, Exchange2010 = 1, Exchange2010_SP1 = 2, Exchange2010_SP2 = 3, Exchange2013 = 4)
mailboxes.txt - file containing mailbox list to check
administrator@***.local – admin account
cust1 - admin password
500 – batch size for message deletion. Use different value only if this is requested by support
0 – report mode (1 – deletion mode)
Specified values must be separated by space character