[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 266
  • Last Modified:

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.
0
siber1
Asked:
siber1
1 Solution
 
Jamie McKillopIT 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

Featured Post

Never miss a deadline with monday.com

The revolutionary project management tool is here!   Plan visually with a single glance and make sure your projects get done.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now