How to create Dynamic Distribution Groups in Exchange Server 2010
In dynamic distribution groups, membership is determined by the results of an LDAP query. We can create a distribution groups by using Cmdlets as shown below: Syntax: New-DynamicDistributionGroup -Name ExchangeName –IncludedRecipients <None, UserMail, MailContacts, MailGroups, Resources, AllRecipients> [-Alias ExchangeAlias] [-DisplayName DisplayName] [-OrganizationalUnit OUName] [-ConditionalCompany CompanyNameFilter1, CompanyNameFilter2,…] [-ConditionalCustomAttributeX Value1, Value2,…] [-ConditionalDepartment DeptNameFilter1, DeptNameFilter2, … ] [-ConditionalStateOrProvince StateNameFilter1, StateNameFilter2, …] [-RecipientContainer ApplyFilterContainer] {AddtlParams} New-DynamicDistributionGroup -Name ExchangeName –RecipientFilter Filter …