Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

need assistance with modifying a dynamic distribution group in exchange 2010

Posted on 2013-12-17
2
Medium Priority
?
261 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 2000 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

Is Your AD Toolbox Looking More Like a Toybox?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

Question has a verified solution.

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

There are times when we need to generate a report on the inbox rules, where users have set up forwarding externally in their mailbox. In this article, I will be sharing a script I wrote to generate the report in CSV format.
Know the reasons and solutions to move/import EDB to New Exchange Server. Also, find out how to recover an Exchange .edb file and to restore the file back.
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.
Attackers love to prey on accounts that have privileges. Reducing privileged accounts and protecting privileged accounts therefore is paramount. Users, groups, and service accounts need to be protected to help protect the entire Active Directory …
Suggested Courses

722 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