The administration and maintenance of Microsoft Exchange Server to ensure secure, reliable, and efficient email and collaboration services across an organization.
You need to use '' rather ""
Set-DynamicDistributionGroup -Identity ******@abc.com -RecipientFilter "(RecipientType -eq 'UserMailbox') -and (CustomAttribute10 -eq 'On-Role') -and (HiddenFromAddressListsEnabled -eq 'False')"
If the response is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.