If you need to enable automatically update email addresses based on email address policy to multiple on Exchange Server 2013 users using PowerShell you can use the cmdlet below:
The cmdlet takes a list of users and apply the settings:
Get-Content .\users.txt | Set-Mailbox -EmailAddressPolicyEnabled $true
If you need to apply it to all users in the company use:
Get-mailbox –resultsize unlimited | Set-Mailbox -EmailAddressPolicyEnabled $true
If you need to applyto users In a specific database
Get-mailboxdatabase –MBX01 | Set-Mailbox -EmailAddressPolicyEnabled $true
Before
After