Email Address Policy based on database
2009-08-25 Leave a comment
Earlier I added a post about how to add en Email Address Policy based on group membership. Here is how to do it based on database:
New-EmailAddressPolicy “Name of the Policy” -RecipientFilter {((Database -eq ‘DistinguishedNameofDatabase’) -and (RecipientType -eq ‘UserMailbox’))} -EnabledPrimarySMTPAddressTemplate ‘SMTP:@domain’
