Solved

Get Retention Policy Status

Posted on 2014-09-23
4
1,359 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

Back Up Your Microsoft Windows Server®

Back up all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

Question has a verified solution.

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

Suggested Solutions

This article aims to explain the working of CircularLogArchiver. This tool was designed to solve the buildup of log file in cases where systems do not support circular logging or where circular logging is not enabled
This article explains how to install and use the NTBackup utility that comes with Windows Server.
The basic steps you have just learned will be implemented in this video. The basic steps are shown to configure an Exchange DAG in a live working Exchange Server Environment and manage the same (Exchange Server 2010 Software is used in a Windows Ser…
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…

737 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