Solved

Edit Exchange 2007 Dynamic Distribution Group

Posted on 2014-03-28
1
405 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 40

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

Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

Question has a verified solution.

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

This article describes my battle tested process for setting up delegation. I use this process anywhere that I need to setup delegation. In the article I will show how it applies to Active Directory
Always backup Domain, SYSVOL etc.using processes according to Microsoft Best Practices. This is meant as a disaster recovery process for small environments that did not implement backup processes and did not run a secondary domain controller that ne…
how to add IIS SMTP to handle application/Scanner relays into office 365.
Attackers love to prey on accounts that have privileges. Reducing privileged accounts and protecting privileged accounts therefore is paramount. Users, groups, and service accounts need to be protected to help protect the entire Active Directory …

734 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