Thursday, April 4, 2013
Export email from exchange 2010
Grant a user rights to perform a mailbox export, by default no one has this:
New-ManagementRoleAssignment –Role "Mailbox Import Export" –User Administrator
Create a network share to dump the exported mail to. This must be a network share as the command requires the file to be dumped to a unc.
Command to export mail:
New-MailboxExportRequest -Mailbox mailbox -FilePath \\server\share\file.pst
View progress:
Get-MailboxExportRequest
Once it is complete you need to clear the request:
Get-MailboxExportRequest | where {$_.status -eq "Completed"}
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment