put the users in CSV file and save it as CreateRecipients.csv in C partition format it as follow
id,newaddressstring
user1,
[email protected].....
Import-CSV c:\CreateRecipients.csv | foreach {set-mailbox -identity $_.id -PrimarySmtpAddress $_.newaddressstring -EmailAddressPolicyEnabled
$false}