Quantcast
Channel: Exchange Server 2010 forum
Viewing all articles
Browse latest Browse all 8820

DynamicDistributionGroup Recipient Filter - Duplicate Filter Display

$
0
0

I am attempting to create Dynamic Distribution Group based on recipient filter.  My shell command is:

New-DynamicDistributionGroup -Name "Dept - XYZ1040" -OrganizationalUnit "domain.com/Misc/Distribution Lists" -RecipientFilter { ((((((Department -like 'XYZ1040*') -and (RecipientType -eq '
UserMailbox'))) -and (UserAccountControl -ne 'AccountDisabled, NormalAccount'))) -and (-not(Name -like 'SystemMailbox{*'
)) -and (-not(Name -like 'CAS_{*'))) }

The Distribution Group is created successfully, however when I go into Exchange Manager and view the Distribution Group Properties, the Filter tab show the filter being applied as:

((((((((((Department -like 'TOL1040*') -and (RecipientType -eq 'UserMailbox'))) -and (UserAccountControl -ne 'AccountDisabled, NormalAccount'))) -and (-not(Name -like 'SystemMailbox{*')))) -and (-not(Name -like 'CAS_{*')))) -and (-not(Name -like 'SystemMailbox{*')) -and (-not(Name -like 'CAS_{*')) -and (-not(RecipientTypeDetailsValue -eq 'MailboxPlan')) -and (-not(RecipientTypeDetailsValue -eq 'DiscoveryMailbox')) -and (-not(RecipientTypeDetailsValue -eq 'ArbitrationMailbox')))

The filter is duplicated and I am not sure what is causing it and because of this, its not picking up the recipients.

I am assuming my orgianly filter syntax has something wrong with it, but I cannot pin point it.

Any help is greatly appreciated.

Thank You


Viewing all articles
Browse latest Browse all 8820

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>