Solved

Get Retention Policy Status

Posted on 2014-09-23
4
1,476 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Free learning courses: Active Directory Deep Dive

Get a firm grasp on your IT environment when you learn Active Directory best practices with Veeam! Watch all, or choose any amount, of this three-part webinar series to improve your skills. From the basics to virtualization and backup, we got you covered.

Question has a verified solution.

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

This article will help to fix the below error for MS Exchange server 2010 I. Out Of office not working II. Certificate error "name on the security certificate is invalid or does not match the name of the site" III. Make Internal URLs and External…
After seeing many questions for JRNL_WRAP_ERROR for replication failure, I thought it would be useful to write this article.
This tutorial will walk an individual through the steps necessary to join and promote the first Windows Server 2012 domain controller into an Active Directory environment running on Windows Server 2008. Determine the location of the FSMO roles by lo…
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…

691 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