Solved

Get Retention Policy Status

Posted on 2014-09-23
4
884 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
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
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

Want to promote your upcoming event?

Is your company attending an event or exhibiting at a trade show soon? Are you speaking at a conference? Spread the word by using a promotional banner in your email signature. This will ensure your organization’s most important contacts are in the know.

Join & Write a Comment

Marketers need statistics and metrics like everybody else needs oxygen. In this article we explain how to enable marketing campaign statistics for Microsoft Exchange mail.
A safe way to clean winsxs folder from your windows server 2008 R2 editions
This tutorial will walk an individual through the steps necessary to configure their installation of BackupExec 2012 to use network shared disk space. Verify that the path to the shared storage is valid and that data can be written to that location:…
In this Micro Video tutorial you will learn the basics about Database Availability Groups and How to configure one using a live Exchange Server Environment. The video tutorial explains the basics of the Exchange server Database Availability grou…

762 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

5 Experts available now in Live!

Get 1:1 Help Now