Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsWindows Server 2003Windows 2000Windows NTSmall Business ServerVirtual ServerExchange ServerIISHost Integration ServerISA ServerSMSWSUSMOMWindows Media ServerSecurityCertification
Related Topics
SQL ServerMS WindowsMS OfficePC HardwareMore Topics ...

Windows Server Forum / Exchange Server / Tools / July 2008

Tip: Looking for answers? Try searching our database.

Poor Man's Email Archiving

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Jim Oltman - 21 Jul 2008 20:27 GMT
My company needs to archive our email for security purposes.  We have all
mail being sent to one mailbox now.  We are manually archiving these emails
to a PST.  I'd like a way to have a scheduled task run that will archive (and
remove in the fashion that Outlook 2003 does) all email from that inbox from
a certain time (the time and date that the command was started) and send an
email to confirm that it either completed or failed.  I have been browsing
the Internet trying to find something.  The only thing I could find was the
Export command in PowerShell.  But it doesn't look like it removes the mail
from the inbox, just makes a copy of it.  Is that correct?  Any ideas on how
I could write this command?  Thanks for your help!
Bharat Suneja [MSFT] - 21 Jul 2008 20:47 GMT
Export-Mailbox has the -DeleteContent switch to delete messages from the
mailbox

Export-Mailbox
http://technet.microsoft.com/en-us/library/aa998579(EXCHG.80).aspx

Signature

Bharat Suneja
Microsoft Corporation
blog: exchangepedia.com/blog

This posting is provided "AS IS" with no warranties, and confers no
rights. Please do not send email directly to this alias. This alias is for
newsgroup purposes only.
----------------------------

> My company needs to archive our email for security purposes.  We have all
> mail being sent to one mailbox now.  We are manually archiving these
[quoted text clipped - 13 lines]
> how
> I could write this command?  Thanks for your help!
Jim Oltman - 21 Jul 2008 22:44 GMT
OK, so it looks like the export command will look something like this:

Export-Mailbox -Identity archiver@mydomain.com -DeleteContent -EndDate
07/21/2008 -PSTFolderPath C:\Archives\072108.pst

Now I just need to figure out how to import the current date and change the
pst name to the current date.  I just started researching PowerShell today,
so I'm sure it'll take some time.  I think I have to call the Outlook COM
object as well.

Jim

> Export-Mailbox has the -DeleteContent switch to delete messages from the
> mailbox
[quoted text clipped - 19 lines]
> > how
> > I could write this command?  Thanks for your help!
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.