looking for script to add another email address for the existing users

Hello,

I am looking for a Exchange 2013 Power Shell script to add new SMTP address for 11000 users and  i don't want to touch existing SMTP addresses. am using Exchange server 2013 please attach CVS file format   

Can someone help ?

June 17th, 2015 11:40am

Create CSV file with below headers

Alias,emailaddress

johnh,johnh@domain.com

alexa,alexa@domain.com

Save the file as data.csv 

Use the below command

Import-Csv c:\data.csv | Foreach{set-mailbox -identity $_.Alias -EmailAddresses @{add=$_.emailaddress}}

Free Windows Admin Tool Kit Click here and download it now
June 17th, 2015 11:53am

Can you use email address policies? I have my policies setup with multiple email addresses in them. You should be able to modify the existing policy and add a secondary address to append to your email accounts.
June 17th, 2015 3:28pm

Hi,

What's the detailed SMTP address format you want to add for these users?

Best Regards.

Free Windows Admin Tool Kit Click here and download it now
June 17th, 2015 11:40pm

thank you Working fine for me.
June 18th, 2015 1:46am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics