troubleshooting Question

Edit a Dynamic Distribution Lists Filter via EMS

Avatar of robbie_woodley
robbie_woodley asked on
8 Comments1 Solution3412 ViewsLast Modified:
Hello again,

I have a dynamic distribution list in which the filter was created using EMS. This is the filter as it appears in the "Filter" tab of the EMC Properties window:

((((((RecipientType -eq 'UserMailbox' -and -not(Name -like 'SystemMailbox{*')) -and -not(Name -like 'CAS_{*')) -and -not(Name -like 'itsupport')) -and FirstName -ne $null) -or ((RecipientType -eq 'MailContact' -and -not(Name -like 'Patriots Test*')) -and -not(Description -like 'Domino Group'))) -and -not(Name -like 'SystemMailbox{*') -and -not(Name -like 'CAS_{*'))

I would like to add one more criteria to this: -and -not(Description -like 'Domino Contact'). What would be the best way to go about this? I tried starting with this followed by the current filter

Set-DynamicDistributionGroup "AllFacStaff" -RecipientFilter (Current Filter Here)

and then adding in the new criteria but it no worky...your help as always is appreciated!
Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 1 Answer and 8 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 8 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros