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

x
?
Solved

Create Dynamic Distribution Group in EMC Shell based on Pre-Existing Mail-Enabled Universal Distribution Group

Posted on 2009-05-12
10
Medium Priority
?
723 Views
Last Modified: 2012-05-06
I have pre-existing Universal Distribution Groups, with a specific description, that I need to create a Dynamic Distribution Group on.  It can no longer be done through ADUC in Exchange 2007, and in order to add certain recipient filters, it needs to be done through the EMC Shell.    

What is the proper syntax in the EMC Shell to create a Dynamic Group made up of existing distribution groups with a specific description?
0
Comment
Question by:njmatt
[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
  • 7
  • 3
10 Comments
 
LVL 52

Expert Comment

by:Manpreet SIngh Khatra
ID: 24365076
can you do that through the EMC from the distribution group container under Recipient configuration
0
 
LVL 52

Expert Comment

by:Manpreet SIngh Khatra
ID: 24365086
0
 
LVL 52

Accepted Solution

by:
Manpreet SIngh Khatra earned 2000 total points
ID: 24365102
I think that this should take care of what you are looking for

New-DynamicDistributionGroup -Name "Mailbox Users on Server1" -OrganizationalUnit Users -RecipientFilter {((RecipientType -eq 'UserMailbox' -and ServerName -eq 'Server1') -and -not(Name -like 'SystemMailbox{*'))}
0
What Is Blockchain Technology?

Blockchain is a technology that underpins the success of Bitcoin and other digital currencies, but it has uses far beyond finance. Learn how blockchain works and why it is proving disruptive to other areas of IT.

 
LVL 1

Author Comment

by:njmatt
ID: 24365267
Rancy, thanks for your response.  I did come across that TechNet article.  The problem I'm running into is the correct syntax for using a Distribution Group, and for specifying the description of those groups.  When creating within the EMC itself, it does not allow to specify a description, which is the way this group needs to be created.
0
 
LVL 52

Expert Comment

by:Manpreet SIngh Khatra
ID: 24365299
0
 
LVL 52

Expert Comment

by:Manpreet SIngh Khatra
ID: 24365314
here you can specify
[-ConditionalCompany <MultiValuedProperty>] [-ConditionalCustomAttribute1 <MultiValuedProperty>]
[-ConditionalDepartment <MultiValuedProperty>] [-ConditionalStateOrProvince <MultiValuedProperty>]
0
 
LVL 1

Author Comment

by:njmatt
ID: 24368625
I was able to create the group successfully, however, it did not pull the necessary distribution groups by description...any idea the syntax to specify the description?

is it..

-RecipientFilter (Description -eq "Sub Contractor")
0
 
LVL 52

Expert Comment

by:Manpreet SIngh Khatra
ID: 24371694
I looked but you might have to do some scripting like
{$. Discription -like\eq "name" } may be this works or not in the filter rule.
So the command could be like
Get-DynamicDistributionGroup | where {$. Discription -like\eq "name" } and see if you can get the output as i looked at a lot of forums and blogs but couldnt find one but if you could provide me your info and in case i get something ill mail or post it here.

Thanks
0
 
LVL 52

Expert Comment

by:Manpreet SIngh Khatra
ID: 24371699
You can also have a look at this article to find how to get a list of object with filter rules
http://technet.microsoft.com/en-us/library/bb124762.aspx
0
 
LVL 1

Author Comment

by:njmatt
ID: 24374213
Rancy,

Thanks for your help.  For the time being, I just added the necessary description call into the Custom Attributes 1 field for all necessary recipients.  That way, I am able to designate that when creating the Dynamic List in EMC itself.  
0

Featured Post

Industry Leaders: 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

This article lists the top 5 free OST to PST Converter Tools. These tools save a lot of time for users when they want to convert OST to PST after their exchange server is no longer available or some other critical issue with exchange server or impor…
One-stop solution for Exchange Administrators to address all MS Exchange Server issues, which is known by the name of Stellar Exchange Toolkit.
In this Micro Video tutorial you will learn the basics about Database Availability Groups and How to configure one using a live Exchange Server Environment. The video tutorial explains the basics of the Exchange server Database Availability grou…
To add imagery to an HTML email signature, you have two options available to you. You can either add a logo/image by embedding it directly into the signature or hosting it externally and linking to it. The vast majority of email clients display l…
Suggested Courses

721 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