Solved

Exchange Retention Policy on OU

Posted on 2013-05-21
1
546 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
[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
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

Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Question has a verified solution.

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

Utilizing an array to gracefully append to a list of EmailAddresses
This article lists the top 5 free OST to PST Converter Tools. These tools save a lot of time for users when they want to convert OST to PST after their exchange server is no longer available or some other critical issue with exchange server or impor…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…
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…

733 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