Edit Exchange 2007 Dynamic Distribution Group

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?

Who is Participating?
Adam BrownConnect With a Mentor Sr Solutions ArchitectCommented:
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.
All Courses

From novice to tech pro — start learning today.