GOD BLESS!
To use this functionality, two prerequisites must be met:
1. As always, the person performing the import or export must have the appropriate permissions within Exchange. By default, no RBAC role group provides this functionality.
New-RoleGroup "Mailbox Import-Export Management" -Roles "Mailbox Import Export"
Add-RoleGroupMember "Mailbox Import-Export Management" -Member
The first command creates a new role group that grants access to the *-MailboxImportRequest and *-MailboxExportRequest cmdlets. The second command adds a user to the role group.
2. The Exchange Trusted Subsystem security group must have Full Control/Owner permissions on the file share that will be used to temporarily store the PST files.
Export the recovered data to a pst file:
New-MailboxExportRequest -Mailbox "Discovery Search Mailbox" -FilePath "\\exchsvr\RecoveryPsts\RecoveredItems.pst" -ContentFilter {Subject -eq "London"} -SourceRootFolder "Recovery 01"
Import the recovered data into the person's mailbox:
New-MailboxImportRequest -Mailbox sec -FilePath "\\exchsvr\RecoveryPsts\RecoveredItems.pst" -TargetRootFolder "Recovered Items"
The alternatives for Exchange Server 2010 RTM and also SP1 are:
1. If the users included in the search have Standard CALs, the Help Desk technician can only use the Search-Mailbox cmdlet.
2. If the users included in the search have Enterprise CALs, the Help Desk technician can also use the New-MailboxSearch cmdlet, or the Multi-Mailbox Search feature in the Exchange Control Panel (ECP).
Search-Mailbox "Discovery Search Mailbox" -SearchQuery "from:'boss' AND seattle" -TargetMailbox sec -TargetFolder "Recovered by HelpDesk" -LogLevel Full -DeleteContent
Source:
http://msexchangeteam.com/archive/2010/04/26/454733.aspx
Other sources:
http://www.simple-talk.com/sysadmin/exchange/single-item-recovery/
No comments:
Post a Comment