?
Solved

Exchange 2007 sp1 scheduling export mailbox for datewise pst

Posted on 2009-05-05
4
Medium Priority
?
833 Views
Last Modified: 2012-05-06
hi
we have Exchange 2007 sp1 with around 600 mailboxes. But only for a set of 20 mailboxes, the mail flow will be higher per day( around 20,000 mails per day). so i need to archive these 20 mailbox mails to a pst file on daily basis. Automating this process is the real practical solution because its difficult to manually do this export on daily basis.

can anybody help us how to schedule a auto archive process which will export all the mails for that mail boxes in a location with auto named as datewise pst files.

regards
thiru.
0
Comment
Question by:thiru52
[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
  • 2
4 Comments
 

Author Comment

by:thiru52
ID: 24313563
Hi Rajith

thanks for your prompt help...
A few clarifications on the solution given...

1. The said script is for exporting all maiboxes. If i need to do this for particular mailbox how to do it?

2. My script should export mails only delivered on yesterday  ( ie., 1 day mails). how to achieve this?

3.. Also how to automate the pst file saving with a datewise file name? (ie., if iam running the script today for yesterday's date, the pst file name should be "yesterday date".pst. Like this for daily.)

4. By running this export script, will the exported mails will be deleted from the server or still a copy will be maintained in the server?(My requirement is it should not be there in the server after exporting to pst.)


regards
Thiru


0
 
LVL 24

Accepted Solution

by:
Rajith Enchiparambil earned 200 total points
ID: 24314230
1. export-mailbox -identity username -pstfolderpath d:\username/pst (you need full control on this mailbox).

2. Use -StartDate and -EndDate parameters with the above command. Run get-help export-mailbox for full syntax info.

3. You might have to run a script for that. Post a question in scripting zone and someone will help you.

4. It won't delete the emails from the exchange server unless you specify an extra parameter.
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

Learn to move / copy / export exchange contacts to iPhone without using any software. Also see the issues in configuration of exchange with iPhone to migrate contacts.
Read this checklist to learn more about the 15 things you should never include in an email signature.
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
This video discusses moving either the default database or any database to a new volume.
Suggested Courses

765 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