Solved

Dynamic Distribution Group/List Exchange 2010

Posted on 2010-11-23
4
738 Views
Last Modified: 2012-05-10
Hi

I need to create several dynamic distribution lists in exchange 2010. The criteria would be "Company", "Office", "Description" (a combination of them as well).

Can anyone here help me with the correct syntax?

Thanks!
0
Comment
Question by:Caperuzzo
[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
  • 2
4 Comments
 
LVL 2

Accepted Solution

by:
CCSDSK1 earned 500 total points
ID: 34199371
Here is the code i used.  I only needed Company and office but I believe the Description part should be the same.  The -not(UserAccountControl -eq 514 just makes sure the user isn't disabled.

 
New-DynamicDistributionGroup -Name "NAME OF YOUR LIST" -RecipientFilter {((RecipientType -eq 'UserMailbox' -and -not(UserAccountControl -eq 514) -and (Company -eq "COMPANY") -and (Office -eq "OFFICE") -and (Description -eq Description)))}

Open in new window

0
 
LVL 2

Expert Comment

by:CCSDSK1
ID: 34199391
Sorry, for got the "''s around the last Description
0
 

Author Comment

by:Caperuzzo
ID: 34200894
Muuuchas gracias!
0
 

Author Comment

by:Caperuzzo
ID: 34205297
One more thing I'd like to ask you.

How would the syntax be to select users where the Description is empty?
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
How to know the backup date of a restored DB? 4 53
outlook 2013, exchange 2007 13 44
Exchange 2016 OWA attachment issues 4 45
Error on OWA 2016 14 21
Lotus Notes – formerly IBM Notes – is an email client application, while IBM Domino (earlier Lotus Domino) is an email server. The client possesses a set of features that are even more advanced as compared to that of Outlook. Likewise, IBM Domino is…
Find out what you should include to make the best professional email signature for your organization.
In this video we show how to create a mailbox database in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: First we need to log into the Exchange Admin Center. Navigate to the Servers >> Data…
To show how to create a transport rule in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: First we need to log into the Exchange Admin Center. Navigate to the Mail Flow >> Rules tab.:  To cr…

733 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