Solved

Get Retention Policy Status

Posted on 2014-09-23
4
1,174 Views
Last Modified: 2014-09-24
Hello,
I set retention tags to delete one year for Inbox, Sent Items, Deleted Items, and Junk Email. I applied it to a policy and applied the policy to a user. How do I know that it worked? Is there any way that I can check the status of the retention policy for this user?

The only thing I have been doing is checking the mailbox size for this user and comparing it against what it was before I applied the policy and it hasn't lessened.

Thanks in advance!
0
Comment
Question by:eshiram
  • 2
  • 2
4 Comments
 

Author Comment

by:eshiram
ID: 40339748
I already ran Start-ManagedFolderAssistant -Identity bharat.suneja@contoso.com to force the retention policy to run now but have no idea if it did anything.
0
 
LVL 16

Accepted Solution

by:
Rajitha Chimmani earned 500 total points
ID: 40339843
You need to first make sure there are items older than 1 year to check the retention policy status for one particular user. If there are items older than 1 year you got to the check the number of items in the mailbox or individual folders instead of the size. Also, check if your retention policy deletes the items based on received date or modified date.

Total number of items in mailbox: Get-MailboxStatistics <mailboxname> | Select ItemCount
Total number of items in inbox folder: Get-MailboxFolderstatistics <mailboxname> | where {$_.name -eq "Inbox"} | Select ItemsinFolder

With Exchange 2010 SP2 or later, the only available logging is performance counters. You need to monitor few performance counters (MSExchange Assistants - Per Database) to confirm this. Please follow the below technet article to find out how to view these performance counters.

http://technet.microsoft.com/en-us/library/bb397227(v=exchg.141).aspx
0
 

Author Comment

by:eshiram
ID: 40340171
Okay, thanks for that. I will accept that solution. However, I do have another question that you might be able to help me with. Is there any way to schedule retention policies to run at a custom scheduled time? I want it to run monthly.
0
 
LVL 16

Expert Comment

by:Rajitha Chimmani
ID: 40340195
I dont think you will be able to set separate schedule for each retention policy. But you can set the schedule for managed folder assistant which applies for all retention policies.

Set-MailboxServer <servername> -ManagedFolderAssistantSchedule "Monday.01:00 AM-Monday.05:00 AM","Tuesday.01:00 AM-Tuesday.05:00 AM","Wednesday.01:00 AM-Wednesday.05:00 AM","Thursday.01:00 AM-Thursday.05:00 AM","Friday.01:00 AM-Friday.05:00 AM"
0

Featured Post

Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Scam emails are a huge burden for many businesses. Spotting one is not always easy. Follow our tips to identify if an email you receive is a scam.
This article explains how to install and use the NTBackup utility that comes with Windows Server.
This tutorial will walk an individual through the process of transferring the five major, necessary Active Directory Roles, commonly referred to as the FSMO roles to another domain controller. Log onto the new domain controller with a user account t…
This video demonstrates how to sync Microsoft Exchange Public Folders with smartphones using CodeTwo Exchange Sync and Exchange ActiveSync. To learn more about CodeTwo Exchange Sync and download the free trial, go to: http://www.codetwo.com/excha…

792 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question