ttrbrtsn
asked on
export mailbox using cmdlet
what is the cmdlet for exporting someones mailbox to a pst file. also the cmdlet to view the queue and the remove from list when complete ?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
First, what exchange version that you are using?
If you are using Exchange 2007, then you can use Export-Mailbox
http://technet.microsoft.com/en-us/library/bb266964(v=exchg.80).aspx
if you are using Exchange 2010, then you can use New-MailboxExportRequest
http://technet.microsoft.com/en-us/library/ff459227(v=exchg.141).aspx
View queue - Get-Queue
If you are using Exchange 2007, then you can use Export-Mailbox
http://technet.microsoft.com/en-us/library/bb266964(v=exchg.80).aspx
if you are using Exchange 2010, then you can use New-MailboxExportRequest
http://technet.microsoft.com/en-us/library/ff459227(v=exchg.141).aspx
View queue - Get-Queue
@suriyaehnop - the author stated exchange 2010 in the tags and i already posted that technet link above
View queue - Get-Queue
*sigh* - I think he meant the MRS queue which is Get-MailboxExportRequest
Create a new mailbox export that will export all items in a mailbox:
New-MailboxExportRequest -Identity mailtoexport@contoso.com -PSTFolderPath C:\Location\PSTName.pst
View items that are pending in the MRS (Mailbox Replication Service) queue that need to be exported:
Get-MailboxExportRequest
OR
Get-MailboxExportRequestStatistics
When its all done, you can remove the Mailbox export requests in bulk. I usually do this:
Get-MailboxExportRequest -Status Completed | Remove-MailboxExportRequest -Confirm:$FALSE
http://krypted.com/windows-server/exchange-server-2010-powershell-mailbox-exports/
Also you have to grant the right to export mailboxes for user.
check this from http://exchangeserverpro.com
http://exchangeserverpro.com/export-mailboxes-exchange-server-2010-sp1/