Solved

Exchange Retention Policy on OU

Posted on 2013-05-21
1
534 Views
Last Modified: 2013-09-16
Hi, We have 2 User OU's in AD. We would like to setup different retention policies for each OU. We have one exchange DB. Is this possible to do?

thanks in advance
0
Comment
Question by:cntrlphreek
1 Comment
 
LVL 12

Accepted Solution

by:
Julian123 earned 500 total points
ID: 39185211
It is possible to do this manually but not automatically. What I mean by that is you could run a Cmdlet along the lines of:

get-mailbox | where-object -FilterScript {$_.organizationalunit -match "company.local/MyBusiness/Users"} | set-retentionpolicy <your chosen retention policy here>

This would configure the retention policy for all the users in that organization at that time. However, if a new user is added to the organizational unit, they would not automatically get that policy so it would need to be manually added. This can be done by adding the policy as soon as the new mailboxes created or by running the cmdlet mentioned above on a regular basis, either manually or via a scheduled task.
0

Featured Post

Is Your AD Toolbox Looking More Like a Toybox?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

Question has a verified solution.

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

This process describes the steps required to Import and Export data from and to .pst files using Exchange 2010. We can use these steps to export data from a user to a .pst file, import data back to the same or a different user, or even import data t…
How to resolve IMCEAEX NDRs in Exchange or Exchange Online related to invalid X500 addresses.
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…
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…

860 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