Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

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

Microsoft Exchange 2010 SP1 - Managed Folder Assistant

Hi,

We are upgrading from Microsoft Exchange 2003 to Microsoft Exchange 2010 SP1 and I need to replicate a recipient policy which deletes all emails, every Friday night at 11pm, which are older than 10 days old.

I know I can do this with Retention Policies in Exchange 2010 SP1, and the Managed Folder Assistant, however I can't seem to get my head around the scheduling aspect of it.  I have setup a retention policy and a retention tag correctly.

If I set the ManagedFolderAssistant to:

"Set-MailboxServer -Identity mailboxserver -ManagedFolderWorkCycle 7.00:00:00"

is this saying I want all mailboxes I specify to be processed every seven days from the time I execute the shell command, or is this saying I want to process all specified mailboxes every seven days at midnight?

I ask because I have run the command:

"Set-MailboxServer -Identity mailboxserver -ManagedFolderWorkCycle 0.00:30:00"

which I expected to be run every thirty minutes but although the test mailbox was processed after the first thirty minutes, it DIDN'T process again thirty minutes later.  Two hours later and it still hadn't processed again.

I am now confused as to when this would/should run next, I know if I leave it for a day or so it will process mailboxes again but the the timing doesn't match either of my possible understandings of the ManagedFolderAssistant.

I came across this link: http://technet.microsoft.com/en-us/library/aa998651.aspx which states: This example throttles the Managed Folder Assistant, which applies message retention settings to all mailboxes for the Mailbox server MBX02 in a 10-day period. During that 10-day period, all mailboxes will be scanned, and at the end of the period, the process will start over. and shows the example as: Set-MailboxServer -Identity MBX02 -ManagedFolderWorkCycle 10.00:00:00 -ManagedFolderWorkCycleCheckpoint 10.00:00:00

Should I be looking into the ManagedFolderWorkCycleCheckpoint also?
0
SquareOneResources
Asked:
SquareOneResources
  • 5
  • 2
1 Solution
 
Hypercat (Deb)Commented:
In Exchange 2010 SP1, the Managed Folder Assistant runs all the time by default.  The period you are setting (as in the example above - 10 days) is the period of time you are enabling the Folder Assistant to take to process all mailboxes. Here's another Technet article that might help explain further:

http://technet.microsoft.com/en-us/library/bb123958.aspx
0
 
SquareOneResourcesAuthor Commented:
Thanks, I'll take a look when I'm in work at a bigger screen (damn BlackBerry).

Ok I understand what you're saying there, so after 10 days how long before the process begins again because if I set it to 30 mins (or 1 hour as I have done also) it only runs the
first cycle, then the second cycle doesn't start for anything from a couple of hours to up to a day - I haven't managed to find the exact timings.

Shouldn't it take 30 mins (if that's what I set it to) to process all mailboxes, then when complete, process them all again in another 30 minute period?

At the moment there are only 6 mailboxes on this server.
0
 
SquareOneResourcesAuthor Commented:
Ooooookkkkaaaayyy.  I think I got it now, that technote says the ManagedFolderAssistant runs every day between 1am and 9am, and now I'm guessing that mailboxes are processed during those hours within the time period I'd set using the cmdLets I posted.

So I could say that all mailboxes are to be processed within that 8 hour window and this will run daily. Interestingly enough that post also says I can change the schedule itself so I might look into that.
0
Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

 
SquareOneResourcesAuthor Commented:
Ignore my last post, blonde moment, didn't see the 'RTM' part! Doh! See, told you, damn BlackBerry screens! :o)
0
 
Hypercat (Deb)Commented:
So did that article answer all your questions for now?  Any additional issues?
0
 
SquareOneResourcesAuthor Commented:
Sorry hypercat, I am just going through it today, I will post back by end of play.  Thanks for all your help so far.
0
 
SquareOneResourcesAuthor Commented:
Thanks, I have now sorted this part of the issue by using the ManagedFolderWorkCycleCheckpoint setting.

How can I start the Managed Folder Assistant for all mailboxes that meet a specified criteria? I can only seem to start it for one mailbox at a time despite the retention policy having multiple mailboxes in it.

Do you know of a way that I can either start it for all mailboxes that are in the retention policy I have setup, or all mailboxes that have a certain text in their AD department field?
0
 
CommTeamCommented:
So I'm running into a similar need to specify a specific schedule for retention action. Back when we were on Exchange 2003, we used to have it setup to take the delete action on all emails older than 90 days, but only take that action on the first day of the month, and somehow (I can't remember how anymore), any user that was going to have something deleted by this retention process got a summary email of what was going to be deleted. Has anyone else used this configuration in Exchange 2003 before, and been able to replicate that in Exchange 2010? It's not always feasible to have the retention action taken every single night.
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

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