![]() ![]() Now open up Powershell (not the Exchange shell) but run it as the admin account you created earlier. By default the install location isC:Program FilesMicrosoftExchangeWeb Services1.2 When installing EWS, take note of the installation path, then put the Remove-DuplicateItems.ps1 file into this new folder. If you don't already have the Exchange Web Services feature installed (EWS), you will need to install this now. ![]() Now you will need to download the Remove-DuplicateItems.ps1 powershell script ready to run, which you can find on the Microsoft Technet site here. ![]() **Change ExportAdmin to the name of your admin account New-ManagementRoleAssignment -Name:impersonationAssignmentName -Role:ApplicationImpersonation -User:ExportAdmin ![]() Next you need to grant your new admin account impersonation permissions to the mailboxes in the Exchange Management Shell using the following command: This new user needs to be a part of the Domain Admins group. I suggest creating an account called "ExportAdmin" or something similar. You will need to create yourself an admin account for this job. This method works with Exchange 2007 onwards, but I have only tested this on Exchange 2013. Well don't worry, there is a way to export duplicates from any mailbox through powershell, without disrupting the users! pst's into Exchange through Outlook and forgotten to tick the "do not import duplicates" check box, then spent the next week trying to remove all the duplicates? Be honest. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |