Solved

Exchange Retention Policy on OU

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

Does Powershell have you tied up in knots?

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 explains how to install and use the NTBackup utility that comes with Windows Server.
In this video we show how to create a Shared Mailbox in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: First we need to log into the Exchange Admin Center. Navigate to the Recipients >> Sha…
This video demonstrates how to sync Microsoft Exchange Public Folders with smartphones using CodeTwo Exchange Sync and Exchange ActiveSync. To learn more about CodeTwo Exchange Sync and download the free trial, go to: http://www.codetwo.com/excha…

770 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