helsknight
IS-IT--Management
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!
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!