[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 525
  • Last Modified:

Exchange 2007: Automated Mailbox content deletion every 14 days

Hi there,

I'd like to script or configure an Exchange 2007 Mailbox to permanently delete all mailbox content every 14 days. I've been looking into MRM but am unsure if this will do what I want it to over a single Mailbox.

I am open to using a PowerShell script for this if anyone knows the correct syntax.

Let me know when you can.

Cheers - MG
0
wilsonkjit
Asked:
wilsonkjit
1 Solution
 
Mkris9Commented:
Can do it using managed folder mailbox policy. In Exchange Server 2007, Managed Folder Mailbox Policy is enforced on a folder and all sub-folders and can set folder retention settings how you want it.

http://technet.microsoft.com/en-us/library/aa996359(EXCHG.80).aspx
0
 
wilsonkjitAuthor Commented:
Is there a risk of applying it to all mailboxes without wanting to do that?
That's why I posted originally to be honest. I'm scared of applying it to all!
0
 
GusGallowsCommented:
I can't find a way to delete it with powershell without first exporting it to a mailbox. The policy method would work though. Basically, you would create the policy but only apply it to the users you are concerned with in the mailbox settings tab of the mailbox in Exchange Management Console.
0

Featured Post

Problems using Powershell and Active Directory?

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

Tackle projects and never again get stuck behind a technical roadblock.
Join Now