Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Outlook 2003 script to archive and copy to server

Status
Not open for further replies.

helsknight

IS-IT--Management
Nov 10, 2004
72
US
Hello everyone. Total newbie with VBS.

Everyone is using Outlook 2003 with Exchange 2003 server. Once a year I would like to archive the emails to PST files and copy them to a server.

There is a auto archive feature but I like to take this out of the users hand as much as possible.

On a set date a script runs to check the mailbox and archive all emails from 1-1-2006 to 12-31-2006 to default outlook path with the file name %username%%year%.pst. Create archive folder (%year%)in outlook to display archive folder.

archive all emails from 1-1-2005 to 12-31-2005 to default outlook path with the file name %username%%year%.pst. Create archive folder (%year%)in outlook to display archive folder.


and 04 and 03 if needed.

after archive, check network path and copy files to %username% dir on the server. If file exist and current copy on local computer is larger, overwrite copy on server else skip.

I'm use to writing batch file but I think this needs VBS to accomplish. Someone point me towards the right direction. Thanks -Hels!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top