Solved

Edit Exchange 2007 Dynamic Distribution Group

Posted on 2014-03-28
1
412 Views
Last Modified: 2014-04-03
Hello everyone,

I would like to edit a dynamic distribution group in Exchange 2007, the only way possible it seems is through the command shell. In the EMC on the properties of the dynamic distribution group on the Filter tab, I copied the data in the Recipients Filter box and edited it to what I needed.

This is what I want the filter to look like, I just copied what was there and edited it:
Set-DynamicDistributionGroup -Identity "ALLEmployees_Corporate -recipientfilter {((((((((((((RecipientType -eq 'UserMailbox') -and (Office -eq 'HQ'))) -or (Office -eq 'HQ1'))) -or (Office -eq 'HQ2'))) -or (Office -eq 'HEADQUAR'))) -or (Office -eq 'HQ3'))) -and (-not(Name -like 'SystemMailbox{*')))) -and (-not(Name -like 'SystemMailbox{*')) -and (-not(Name -like 'CAS_{*')))}


But how do I now apply it to the dynamic distribution group?

Thanks!
0
Comment
Question by:tolinrome
[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 41

Accepted Solution

by:
Adam Brown earned 500 total points
ID: 39962743
You should just be able to open the Exchange Management shell, the copy and paste what you have there into it, then hit enter. That will apply the changes to the group.
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

After seeing many questions for JRNL_WRAP_ERROR for replication failure, I thought it would be useful to write this article.
Compliance and data security require steps be taken to prevent unauthorized users from copying data.  Here's one method to prevent data theft via USB drives (and writable optical media).
This video discusses moving either the default database or any database to a new volume.
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…
Suggested Courses

630 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