Solved

Hosted exchange 2010 bulk export mailbox to pst

Posted on 2013-11-08
6
758 Views
Last Modified: 2013-12-31
Anyone a clue of how to bulk export mailboxes from hosted exchange 2010 sp1 to pst ?

After this process I also want to delete the mailboxes without deleting the user account in active directory.
0
Comment
Question by:thisis_it
  • 3
  • 3
6 Comments
 
LVL 10

Expert Comment

by:djcanter
ID: 39634447
do you have access to a remote desktop session on the hosted server ? if so you can run the following from exchange shell:

$Export = Get-Mailbox
$Export|%{$_|New-MailboxExportRequest -FilePath "\\yourserver\sharename\$($_.alias).pst"}
0
 

Author Comment

by:thisis_it
ID: 39634504
I miss the hosted environment and the cleanup?
0
 
LVL 10

Expert Comment

by:djcanter
ID: 39634568
Is the Exchange server in your office, or are you subscribing to a Hosted Exchange service like outlook.com or similar ?
0
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

 

Author Comment

by:thisis_it
ID: 39635400
It is in my office but it is a hosted environment (multi tenant). So multiple hosted OUs in our  (only shell) environment of Exchange 2010 sp1
0
 
LVL 10

Accepted Solution

by:
djcanter earned 500 total points
ID: 39642671
$Export = Get-Mailbox -OrganizationalUnit Users
$Export|%{$_|New-MailboxExportRequest -FilePath "\\yourserver\sharename\$($_.alias).pst"}

The above will work from Exchange Shell. Change Users to the name of your OU, and define the UNC export path properly.

you may want to run Get-Mailbox -OrganizationalUnit Users to view what mailboxes will be exported.
0
 

Author Closing Comment

by:thisis_it
ID: 39747944
Thanks. This works
0

Featured Post

Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

Question has a verified solution.

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

Utilizing an array to gracefully append to a list of EmailAddresses
Local Continuous Replication is a cost effective and quick way of backing up Exchange server data. The following article describes the steps required to configure Local Continuous Replication. Also, the article tells you how to restore from a backup…
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…

777 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