need assistance with modifying a dynamic distribution group in exchange 2010

can someone provide a way to modify this OPATH query to also include "mailusers" as well as "mailbox users"

Set-DynamicDistributionGroup -Identity "Office.NewYork" -RecipientFilter {(RecipientType -eq 'UserMailbox') -and (Office -eq 'Manhattan') -and (C -eq 'US')}

Open in new window


thx in advance,

S.
siber1Asked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
Jamie McKillopConnect With a Mentor IT ManagerCommented:
Hello,

Here you go:

Set-DynamicDistributionGroup -Identity "Office.NewYork" -RecipientFilter {((RecipientType -eq 'UserMailbox') -or (RecipientType -eq 'MailUser')) -and (Office -eq 'Manhattan') -and (C -eq 'US')}

-JJ
0
 
siber1Author Commented:
worked! thank you JJ
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.