Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 265
  • 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 McKillopCommented:
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

 The Evil-ution of Network Security Threats

What are the hacks that forever changed the security industry? To answer that question, we created an exciting new eBook that takes you on a trip through hacking history. It explores the top hacks from the 80s to 2010s, why they mattered, and how the security industry responded.

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