Quantcast
Channel: Microsoft Exchange
Viewing all articles
Browse latest Browse all 20055

Create Dynamic Distribution Groups Using Customized Filters

$
0
0

I've created a new Dynamic Distribution Group, but I want to add a filter to exclude recipients with a particular 'company name'.

Here is what I've come up with, but it's not working:

Set-DynamicDistributionGroup Groupname -RecipientFilter {(RecipientType -eq 'UserMailbox' -and ServerName -eq 'Server') -and Company -ne 'Company')

I believe I just need to tweak the syntax a bit.


Viewing all articles
Browse latest Browse all 20055

Trending Articles



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