Solved

Mass PST export in Exchange 2010

Posted on 2016-07-18
5
67 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Ready to trade in that old firewall?

Whether you need to trade-up to a shiny new Firebox or just ready to upgrade from whatever appliance you're using now, WatchGuard has the right appliance for you! Find your perfect Firebox today with appliance sizing tool!

Question has a verified solution.

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

Recently we ran in to an issue while running some SQL jobs where we were trying to process the cubes.  We got an error saying failure stating 'NT SERVICE\SQLSERVERAGENT does not have access to Analysis Services. So this is a way to automate that wit…
This article will help to fix the below error for MS Exchange server 2010 I. Out Of office not working II. Certificate error "name on the security certificate is invalid or does not match the name of the site" III. Make Internal URLs and External…
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 …
This video demonstrates how to sync Microsoft Exchange Public Folders with smartphones using CodeTwo Exchange Sync and Exchange ActiveSync. To learn more about CodeTwo Exchange Sync and download the free trial, go to: http://www.codetwo.com/excha…
Suggested Courses

617 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