?
Solved

Exchange Retention Policy on OU

Posted on 2013-05-21
1
Medium Priority
?
596 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 1500 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

Office 365 Training for IT Pros

Learn how to provision tenants, synchronize on-premise Active Directory, implement Single Sign-On, customize Office deployment, and protect your organization with eDiscovery and DLP policies.  Only from Platform Scholar.

Question has a verified solution.

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

Learn to move / copy / export exchange contacts to iPhone without using any software. Also see the issues in configuration of exchange with iPhone to migrate contacts.
This article will help to fix the below errors for MS Exchange Server 2013 I. Certificate error "name on the security certificate is invalid or does not match the name of the site" II. Out of Office not working III. Make Internal URLs and Externa…
The video tutorial explains the basics of the Exchange server Database Availability groups. The components of this video include: 1. Automatic Failover 2. Failover Clustering 3. Active Manager
how to add IIS SMTP to handle application/Scanner relays into office 365.
Suggested Courses
Course of the Month15 days, 8 hours left to enroll

743 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