I want to remove a person from a Dynamic Distribution group. If the group is ALL NY USERS and the user say John Smith would I do:
Set-DynamicDistributionGroup -Identity JSMITH -RecipientFilter {((RecipientType -eq 'JSMITH@Company.com') -and -not(Name -like 'ALL NY Users'))}
Set-DynamicDistributionGroup -Identity JSMITH -RecipientFilter {((RecipientType -eq 'JSMITH@Company.com') -and -not(Name -like 'ALL NY Users'))}