Solved

Get Retention Policy Status

Posted on 2014-09-23
4
980 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

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

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

Following basic email etiquette rules will help you write a professional email and achieve a good, lasting impression with your contacts.
MS Outlook is a world-class email client application that is mainly used for e-communication globally.  In this article, we will discuss the basic idea about MS Outlook, its advanced features, and types of MS Outlook File formats.
This tutorial will give a an overview on how to deploy remote agents in Backup Exec 2012 to new servers. Click on the Backup Exec button in the upper left corner. From here, are global settings for the application such as connecting to a remote Back…
This tutorial will walk an individual through locating and launching the BEUtility application and how to execute it on the appropriate database. Log onto the server running the Backup Exec database. In a larger environment, this would generally be …

914 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

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now