I use this command to create a e-mail address policy based on a group membership use the following command:
New-EmailAddressPolicy "" -RecipientFilter {((MemberOfGroup -eq "GroupPath"))} -EnabledPrimarySMTPAddressTemplate ‘ ’
PolicyName – Policy name.
GroupPath – Distinguished name of group in Active Directory. READ MORE »