Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Edit Exchange 2007 Dynamic Distribution Group

Posted on 2014-03-28
1
Medium Priority
?
416 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 42

Accepted Solution

by:
Adam Brown earned 1500 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

Creating Active Directory Users from a Text File

If your organization has a need to mass-create AD user accounts, watch this video to see how its done without the need for scripting or other unnecessary complexities.

Question has a verified solution.

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

A couple of months ago we ran into an issue that necessitated re-creating our Edge Subscriptions. However, when we attempted to execute the command: New-EdgeSubscription -filename C:\NewEdgeSub_01.xml we received an error indicating that the LDAP se…
Let's recap what we learned from yesterday's Skyport Systems webinar.
This tutorial will walk an individual through setting the global and backup job media overwrite and protection periods in Backup Exec 2012. Log onto the Backup Exec Central Administration Server. Examine the services. If all or most of them are stop…
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…
Suggested Courses

721 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