Solved

Mass PST export in Exchange 2010

Posted on 2016-07-18
5
55 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:
Britt Thompson earned 500 total points
ID: 41717895
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
ID: 41719254
Nothing seems to happen with those commands.
0
 
LVL 30

Expert Comment

by:Britt Thompson
ID: 41719267
Get-Mailbox | ?{$_.ArchiveDatabase -ne $null}

Does just running this produce any output?
0
 

Author Comment

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

Author Comment

by:rckollar
ID: 41719328
Nevermind.  We got it.  Thanks, it works!
0

Featured Post

Does Powershell have you tied up in knots?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article lists the top 5 free OST to PST Converter Tools. These tools save a lot of time for users when they want to convert OST to PST after their exchange server is no longer available or some other critical issue with exchange server or impor…
Windows 10 came with  a lot of built in applications, Some organisations leave them there, some will control them using GPO's. This Article is useful for those who do not want to have any applications in their image (example:me).
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 …
In this video we show how to create an email address policy in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.:  First we need to log into the Exchange Admin Center. Navigate to the Mail Flow…

856 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