Hi,
First of all, if you want to use EmailAddresses to filter out user, you need to add SMTP: to the RecipientFilter. Like this (EmailAddresses -like 'SMTP:10*@DomainName.com')
And if you want to use this format 10*@DomainName.com' to filter out all emailaddresses like this format? For example,
101@DomainName.com,
102@DomainName.com and
103@DomainName.com will be filtered out. If yes, I would say we cannot filter these email addresses using this format. I suggest to configure some customattributes for these addresses.
If the 10*@DomainName.com is one user mailbox, use the following command to configure the RecipientFilter. One double bracket, one condition.
Set-DynamicDistributionGroup "Intake2010" -RecipientFilter {(RecipientType -eq 'MailContact') -and (EmailAddresses -like '10*@DomainName.com')}
Best Re