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.