Solved

Mass PST export in Exchange 2010

Posted on 2016-07-18
5
37 Views
Last Modified: 2016-07-19
In the Exchange 2010 (SP3)  management shell, can anyone tell me what would be the correct command and syntax to export all archive mailboxes from an archive database as individual PST files?  I am really hoping I don't have to export them one by one.
0
Comment
Question by:rckollar
  • 3
  • 2
5 Comments
 
LVL 30

Accepted Solution

by:
renazonse earned 500 total points
Comment Utility
You should just be able to run a query against Exchange to find all mailboxes with the personal archive enabled - $archives = Get-Mailbox | ?{$_.ArchiveDatabase -ne $null}

Then you can run the new mailbox export request in a loop against all the collected mailboxes -
foreach($archive in $archives)
{
New-MailboxExportRequest -Mailbox $($archive.alias) -IsArchive -FilePath "\\SERVER01\PSTFileShare\$($archive.alias).pst"
}
0
 

Author Comment

by:rckollar
Comment Utility
Nothing seems to happen with those commands.
0
 
LVL 30

Expert Comment

by:renazonse
Comment Utility
Get-Mailbox | ?{$_.ArchiveDatabase -ne $null}

Does just running this produce any output?
0
 

Author Comment

by:rckollar
Comment Utility
Yes, We get the list.  But nothing seems to happen with the second command.
0
 

Author Comment

by:rckollar
Comment Utility
Nevermind.  We got it.  Thanks, it works!
0

Featured Post

Complete Microsoft Windows PC® & Mac Backup

Backup and recovery solutions to protect all your PCs & Mac– on-premises or in remote locations. Acronis backs up entire PC or Mac with patented reliable disk imaging technology and you will be able to restore workstations to a new, dissimilar hardware in minutes.

Join & Write a Comment

Exchange server is not supported in any cloud-hosted platform (other than Azure with Azure Premium Storage).
A procedure for exporting installed hotfix details of remote computers using powershell
Familiarize people with the process of utilizing SQL Server stored procedures from within Microsoft Access. Microsoft Access is a very powerful client/server development tool. One of the SQL Server objects that you can interact with from within Micr…
In this video we show how to create a Resource Mailbox in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: Navigate to the Recipients >> Resources tab.: "Recipients" is our default selection …

771 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now