Is it possible to "Archive" mailboxes using Export-Mailbox?
We're trying to come up with a way to "archive" mailbox data to a *.pst file using Export-Mailbox. We'd like to see if it's possible to match the functionality of the Auto-Archiving that's found in Outlook clients. We could use a Task Sequence to periodically export the data as needed. I've started with a command but wondered if it could be expanded on to actually "archive" data repeatedly in the same *.pst file? Could this be tweaked to check for mail items, say, older than x number of days? Export-Mailbox -Identity john@contoso.com -PSTFolderPath C:\PSTFiles\john.pst -StartDate "03/01/2006 12:01:00"
September 3rd, 2008 9:02pm

Sandy, Sure, it is possible to do this, but it is not the most desirable solution. PST files are not really designed as an "enterprise" solution. It is a pretty clever idea, though. You could create a .PS1 script that you could run ona scheduled. Wouldn't the second time you run the command actually "append" the data to the file you created the first time? Of course, PST files are a bit flakey when you get larger than a GB or two. Jim
Free Windows Admin Tool Kit Click here and download it now
September 3rd, 2008 9:11pm

Hi, No you can only provide a date format, but maybe you can do something with the parameter get-date: get-date -Format dd-MM-yy will return the current date I am not pretty good in scripting but maybe you can do some furthur investigation on this subject ? Regards, Johan visit my site: www.johanveldhuis.nl
September 3rd, 2008 9:35pm

Jim, Yes, it is pretty flakey all in all. Our management doesn't want more that x amount of days on our mailbox server, period so we're trying to accomadate a few special mailboxes.
Free Windows Admin Tool Kit Click here and download it now
September 3rd, 2008 11:04pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics