In
this exercise, we will perform below steps so that items in Deleted
Items folder are permanently deleted in 30 days and applying new
retention policy with the mailbox.
· Create a Retention Tag
· Create a Retention Policy
· Apply a Retention Policy to Mailboxes
· Schedule the Managed Folder Assistant
· Start the Managed Folder Assistant
Create a Retention Tag
Retention policy tags are created for default folders like, Inbox, Deleted Items, Sent Items etc, but no support for the Calendar and Tasks folders.
Default policy tags are applied to all items having no retention tag applied.
Personal tags are created for applying retention settings on custom folders.
You can't use the EMC to create a retention policy tag, default policy tags and personal tags.
In this example, we will create a new Retention policy tag, RETAG-DeletedItems for the default Deleted Items folder to permanent delete items in 30 days.
New-RetentionPolicyTag " RETAG-DeletedItems "
-Type "DeletedItems" -Comment "Permanent delete items in 30 days"
-RetentionEnabled $true -AgeLimitForRetention 30 -RetentionAction
PermanentlyDelete
Create a Retention Policy
This example will create a new retention policy RP-FIN and links the tag RETAG-DeletedItems
This
example creates the retention policy RP-VPs and links the tags
RPT-VPs-Default, RPT-VPs-Inbox, and RPT-VPs-DeletedItems to the policy.
New-RetentionPolicy "RP-Tech" -RetentionPolicyTagLinks " RETAG-DeletedItems "
You can't use the EMC to create a retention policy.
Apply a Retention Policy to Mailboxes
This example applies the retention policy RP-Tech to Sachin's mailbox:
Copy Code Set-Mailbox "Sachin" -RetentionPolicy "RP-Tech"
You can't use the EMC to apply a retention policy to a mailbox.
Schedule the Managed Folder Assistant
In
Microsoft Exchange Server 2010, the Managed Folder Assistant is
scheduled to run from 01:00 (1:00 A.M.) to 09:00 (9:00 A.M.) daily. You
can modify the schedule to suit your requirements.
Use the EMC to schedule the Managed Folder Assistant
You
need to be assigned permissions before you can perform this procedure.
To see what permissions you need, see the "Messaging records management"
entry in the Messaging Policy and Compliance Permissions topic.
1. Open the Exchange Management Console.
2. Click Server Configuration and then Mailbox.
3. Right-click on the Mailbox server where you want to schedule the Managed Folder Assistant, and then click on Properties.
4. Click on the Messaging Records Management tab.
5. Click Custom Schedule in the Schedule the Managed Folder Assistance box.
6. Select the times and days for Managed Folder Assistant to run.
7. Click Ok.
How to Schedule the Managed Folder Assistant from the Shell
You can use the Set-MailboxServer Cmdlet to schedule the Managed Folder Assistant. Below command will schedule the Managed Folder Assistant to start running at 15:00 (Sunday) until all mailboxes are processed or 16:00 (the following Sunday), whichever is first.
Set-MailboxServer -Identity EX01 -ManagedFolderAssistantSchedule "Sun.15:00-Sun.16:00"
Start the Managed Folder Assistant
Run the below command to start the Managed Folder Assistant
Start-ManagedFolderAssistant
You can't use the EMC to manually start the Managed Folder Assistant.
No comments:
Post a Comment