Solved

need assistance with modifying a dynamic distribution group in exchange 2010

Posted on 2013-12-17
2
257 Views
Last Modified: 2013-12-17
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
Comment
Question by:siber1
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 37

Accepted Solution

by:
Jamie McKillop earned 500 total points
ID: 39724893
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
 

Author Closing Comment

by:siber1
ID: 39725006
worked! thank you JJ
0

Featured Post

Does Powershell have you tied up in knots?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Here's a look at newsworthy articles and community happenings during the last month.
After seeing many questions for JRNL_WRAP_ERROR for replication failure, I thought it would be useful to write this article.
This tutorial will walk an individual through the process of transferring the five major, necessary Active Directory Roles, commonly referred to as the FSMO roles to another domain controller. Log onto the new domain controller with a user account t…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…
Suggested Courses

630 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question