No more exmerge in Exchange 2010, using mailbox import export
March 11, 2011Changing the global catalog server for Exchange Server 2010
March 21, 2011#Assign the role to the required user account
New-ManagementRoleAssignment -Role “Mailbox Import Export” -User administrator
#Restart the shell
#This would search every mailbox for messages containing the word secrets in the message body,
#and export them to the administrator mailbox in a subfolder called Export
Get-Mailbox -ResultSize Unlimited | Search-Mailbox -SearchQuery “Body:’*secrets*'” -TargetMailbox administrator -TargetFolder Export
#Or, to search one mailbox for bob smith
Search-Mailbox -Identity bsmith -SearchQuery “Body:’*secrets*'” -TargetMailbox administrator -TargetFolder
#you can also do this via ECP
#see http://technet.microsoft.com/en-us/library/dd298014.aspx