programming4us
programming4us
ENTERPRISE

Exchange Server 2010 : Working with Dynamic Distribution Groups (part 2) - Modifying Dynamic Distribution Groups Using Cmdlets

9/20/2013 9:25:47 PM

2. Changing Query Filters

With dynamic distribution groups, the container in which you apply a query filter determines the scope of the query, which is the LDAP query you define for the group filters to recipients in and below the specified container. You can change the apply-filter container or modify the types of recipients to search for by completing the following steps:

  1. In the Exchange Management Console, double-click the dynamic distribution group entry. This opens the group's Properties dialog box.

  2. On the Filter tab, the current apply-filter container is listed. To specify a different container for limiting the query scope, click Browse, and then use the Select Organizational Unit dialog box to select a container.

  3. Use the Include These Recipient Types options to specify the type of recipients to include in the query. Select either All Recipient Types or select The Following Specific Types, and then select the types of recipients. Click OK.

3. Changing Filter Conditions

With dynamic distribution groups, the filter conditions determine the exact criteria that must be met for a recipient to be included in the dynamic distribution group. You can modify the filter conditions by completing the following steps:

  1. In the Exchange Management Console, double-click the dynamic distribution group entry. This opens the group's Properties dialog box.

  2. On the Conditions tab, the current conditions are listed. The following types of conditions are available as well as conditions for custom attributes:

    • Recipient Is In A State Or Province Filters recipients based on the value of the State/Province field on the Address And Phone tab in the related Properties dialog box. Click the related In The Specified State Or Province(s) link. In the Specify State Or Province dialog box, add or remove states or provinces as necessary and then click OK.

    • Recipient Is In A Department Filters recipients based on the value of the Department field on the Organization tab in the related Properties dialog box. Click the related In The Specified Department(s) link. In the Specify Department dialog box, add or remove departments as necessary and then click OK.

    • Recipient Is In A Company Filters recipients based on the value of the Company field on the Organization tab in the related Properties dialog box. Click the related In The Specified Company(s) link. In the Specify Company dialog box, add or remove company names and then click OK.

  3. Click OK.

4. Designating an Expansion Server

When there are potentially hundreds or thousands of members, dynamic distribution groups are inefficient and can require a great deal of processing to complete. This is why the expansion process normally is handled by your organization's Global Catalog servers. However, in some cases, you might want a dedicated expansion server to handle expansion processing. The dedicated expansion server can be any Hub Transport server in your organization, and you'll usually want to configure at least one dedicated expansion server per Active Directory site.

You can specify a dedicated expansion server for a dynamic distribution group by completing these steps:

  1. In the Exchange Management Console, double-click the dynamic distribution group entry. This opens the group's Properties dialog box.

  2. On the Advanced tab, select the Set Expansion Server check box, and then click Browse to select the expansion server you want to use. Click OK.

5. Modifying Dynamic Distribution Groups Using Cmdlets

In the Exchange Management Shell, you can get information about dynamic distribution groups using the Get-DynamicDistributionGroup cmdlet and modify the filters and conditions associated with a dynamic distribution group using the Set-DynamicDistributionGroup cmdlet. The Set-DynamicDistributionGroup cmdlet has several other uses as well. You can use it to do the following:

  • Specify a dedicated expansion server to enhance query processing. Set the –ExpansionServer parameter to the identity of the Global Catalog server to use.

  • Upgrade dynamic distribution groups created for Exchange 2003 and Exchange 2000 to allow incompatible dynamic distribution groups to be rewritten to work with Exchange Server 2010. Set –ForceUpgrade $true, and then modify any incompatible included recipients or recipient filters as necessary.

Example 2 provides the syntax and usage for the Get-DynamicDistributionGroup cmdlet.

Example 2. Get-DynamicDistributionGroup cmdlet syntax and usage

Syntax

Get-DynamicDistributionGroup [-Identity GroupIdentity | -Anr Name]
[-Credential Credential]
[-DomainController FullyQualifiedName]
[-Filter FilterString]
[-IgnoreDefaultScope {$true | $false}]
[-ManagedBy Managers]
[-Organization OrgName]
[-OrganizationalUnit OUName]
[-ReadFromDomainController {$true | $false}]
[-ResultSize Size]
[-SortBy Value]


Usage

Get-DynamicDistributionGroup -Identity 'cpandl.com/Users/CrossSales'

Example 3 provides the syntax and usage for the Set-DynamicDistributionGroup cmdlet.

Example 3. Set-DynamicDistributionGroup cmdlet syntax and usage

Syntax

Set-DynamicDistributionGroup -Identity GroupIdentity
[-Alias NewAlias] [-AcceptMessagesOnlyFrom Recipients]
[-AcceptMessagesOnlyFromDLMembers Recipients]
[-AcceptMessagesOnlyFromSendersOrMembers Recipients]
[-ArbitrationMailbox ModeratorMailbox]
[-BypassModerationFromSendersOrMembers Recipients]
[-ConditionalCompany Values] [-ConditionalDepartment Values]
[-ConditionalCustomAttributeX Values]
[-ConditionalStateOrProvince Values] [-CreateDTMFMap <$true | $false>]
[-DisplayName Name] [-DomainController DCName]
[-EmailAddresses ProxyAddress]
[-EmailAddressPolicyEnabled <$false|$true>]
[-ExpansionServer Server] [-ForceUpgrade <$false|$true>]
[-GrantSendOnBehalfTo Mailbox]
[-HiddenFromAddressListsEnabled <$false|$true>]
[-IgnoreDefaultScope {$true | $false}]
[-IncludedRecipients <None, UserMail, MailContacts, MailGroups,
Resources, AllRecipients>] [-MailTip String]
[-MailTipTranslations Locale:TipString, Locale:TipString, ...]
[-ManagedBy Managers] [-MaxReceiveSize Size] [-MaxSendSize Size]
[-ModeratedBy Moderators] [-ModerationEnabled <$true | $false>]
[-Name Name] [-Notes Value] [-PhoneticDisplayName PhName]
[-PrimarySmtpAddress SmtpAddress]
[-RecipientContainer OUName] [-RecipientFilter String]
[-RejectMessagesFrom Recipients]
[-RejectMessagesFromDLMembers Recipients]
[-RejectMessagesFromSendersOrMembers Recipients]
[-ReportToManagerEnabled <$false|$true>]
[-ReportToOriginatorEnabled <$false|$true>]
[-RequireSenderAuthenticationEnabled <$false|$true>]
[-SendModerationNotifications <Never | Internal | Always>]
[-SendOofMessageToOriginatorEnabled <$false|$true>]
[-SimpleDisplayName Name] [-UMDtmfMap Values]
[-WindowsEmailAddress SmtpAddress]


Usage

Set-DynamicDistributionGroup -Identity 'cpandl.com/Users/CrossSales'
-IncludedRecipients 'AllRecipients'
-ConditionalCompany 'City Power & Light'
-ConditionalDepartment 'Sales','Accounting'
-ConditionalStateOrProvince 'Washington','Idaho','Oregon'
-RecipientContainer 'cpandl.com'


Usage

Set-DynamicDistributionGroup -Identity 'cpandl.com/Users/CrossSales'
-ForceUpgrade $true


Usage

Set-DynamicDistributionGroup -Identity 'cpandl.com/Users/CrossSales'
-ExpansionServer 'CorpSvr127'

6. Previewing Dynamic Distribution Group Membership

You can preview a dynamic distribution group to confirm its membership and determine how long it takes to return the query results. The specific actions you take depend on the following factors:

  • In some cases, you might find that the membership isn't what you expected. If this happens, you need to change the query filters, as discussed earlier.

  • In other cases, you might find that it takes too long to execute the query and return the results. If this happens, you might want to rethink the query parameters. You might want to create several query groups.

To preview dynamic distribution group membership, follow these steps:

  1. In the Exchange Management Console, double-click the dynamic distribution group entry. This opens the group's Properties dialog box.

  2. On the Conditions tab, click Preview.

  3. When you are finished reviewing the results of the query, click OK twice.

Other  
  •  Exchange Server 2010 : Working with Security and Standard Distribution Groups (part 2) - Adding and Removing Managers, Configuring Member Restrictions and Moderation
  •  Exchange Server 2010 : Working with Security and Standard Distribution Groups (part 1) - Creating Security and Standard Distribution Groups
  •  Exchange Server 2010 : Working with Distribution Groups and Address Lists - Using Security and Distribution Groups
  •  SharePoint 2010 : The Search User Interface - The Search Results Page (part 4) - Search Later from Windows Explorer
  •  SharePoint 2010 : The Search User Interface - The Search Results Page (part 3) - RSS
  •  SharePoint 2010 : The Search User Interface - The Search Results Page (part 2) - Alert Me
  •  SharePoint 2010 : The Search User Interface - The Search Results Page (part 1) - Search Suggestions
  •  Sharepoint 2013 : View Properties of a Document
  •  Sharepoint 2013 : Open a Document for Reading
  •  Sharepoint 2013 : See What Lists and Document Libraries Are in a Site
  •  
    Video
    PS4 game trailer XBox One game trailer
    WiiU game trailer 3ds game trailer
    Top 10 Video Game
    -   Minecraft Mods - MAD PACK #10 'NETHER DOOM!' with Vikkstar & Pete (Minecraft Mod - Mad Pack 2)
    -   Minecraft Mods - MAD PACK #9 'KING SLIME!' with Vikkstar & Pete (Minecraft Mod - Mad Pack 2)
    -   Minecraft Mods - MAD PACK #2 'LAVA LOBBERS!' with Vikkstar & Pete (Minecraft Mod - Mad Pack 2)
    -   Minecraft Mods - MAD PACK #3 'OBSIDIAN LONGSWORD!' with Vikkstar & Pete (Minecraft Mod - Mad Pack 2)
    -   Total War: Warhammer [PC] Demigryph Trailer
    -   Minecraft | MINIONS MOVIE MOD! (Despicable Me, Minions Movie)
    -   Minecraft | Crazy Craft 3.0 - Ep 3! "TITANS ATTACK"
    -   Minecraft | Crazy Craft 3.0 - Ep 2! "THIEVING FROM THE CRAZIES"
    -   Minecraft | MORPH HIDE AND SEEK - Minions Despicable Me Mod
    -   Minecraft | Dream Craft - Star Wars Modded Survival Ep 92 "IS JOE DEAD?!"
    -   Minecraft | Dream Craft - Star Wars Modded Survival Ep 93 "JEDI STRIKE BACK"
    -   Minecraft | Dream Craft - Star Wars Modded Survival Ep 94 "TATOOINE PLANET DESTRUCTION"
    -   Minecraft | Dream Craft - Star Wars Modded Survival Ep 95 "TATOOINE CAPTIVES"
    -   Hitman [PS4/XOne/PC] Alpha Gameplay Trailer
    -   Satellite Reign [PC] Release Date Trailer
    Game of War | Kate Upton Commercial
    programming4us
     
     
    programming4us