Need to UnDelete all messages purged by recipient policy
A specific recipient policy was mistakenly applied to all mailboxes in our company. I have changed the recipient policy to the correct one. I now need to restore (from delete items) all messages that that were affected by that recipient policy.
These users have many subfolders and I don't want to open outlook and use "recover deleted items" on each folder.
How can I recover deleted messages from all folders in a given mailbox? Can I constrain it by date deleted?
April 26th, 2012 9:58am
We can Export to a Folder using Search-Mailbox if its Exchange 2010.
--
But its not possible to move to same place again using shell
--Satheshwaran Manoharan | Exchange 2003/2007/2010 | Blog:http://www.careexchange.in | Please mark it as an answer if it really helps you
Free Windows Admin Tool Kit Click here and download it now
April 27th, 2012 1:39am
Besides, I think you can try to restore the mailbox from database backup.Xiu Zhang
TechNet Community Support
April 27th, 2012 3:25am
The honest answer and one you most likely don't want to hear is to restore from backupOliver Moazzezi | Exchange MVP, MCSA:M, MCITP:Exchange 2010, BA (Hons) Anim | http://www.exchange2010.com | http://www.cobweb.com | http://twitter.com/OliverMoazzezi
Free Windows Admin Tool Kit Click here and download it now
April 27th, 2012 7:52am
This doesn't makes sense. The messages are visible in deleted items. I just have to restore them from there. I can use this code as a starting point... but haven't fully explored the object model
Add-type -assembly "Microsoft.Office.Interop.Outlook" | out-null
$olFolders = "Microsoft.Office.Interop.Outlook.olDefaultFolders" -as [type]
$outlook = new-object -comobject outlook.application
$namespace = $outlook.GetNameSpace("MAPI")
April 27th, 2012 9:48am
Hi,
I recommend you to try to post the issue in develop queue to get better help.
ThanksXiu Zhang
TechNet Community Support
Free Windows Admin Tool Kit Click here and download it now
May 3rd, 2012 2:14am