Solved

Mass PST export in Exchange 2010

Posted on 2016-07-18
5
45 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
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:renazonse
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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Following basic email etiquette rules will help you write a professional email and achieve a good, lasting impression with your contacts.
This article aims to explain the working of CircularLogArchiver. This tool was designed to solve the buildup of log file in cases where systems do not support circular logging or where circular logging is not enabled
The video tutorial explains the basics of the Exchange server Database Availability groups. The components of this video include: 1. Automatic Failover 2. Failover Clustering 3. Active Manager
To add imagery to an HTML email signature, you have two options available to you. You can either add a logo/image by embedding it directly into the signature or hosting it externally and linking to it. The vast majority of email clients display l…

911 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

22 Experts available now in Live!

Get 1:1 Help Now