How to update multiple SMTP addresses using PowerShell

 Hello out there in Live@EDU land!!  Recently I have had several requests for more information on updating multiple SMTP addresses via PowerShell.  In response I have put together a short video that outlines the guidance given on help.outlook.com and shows you how to put that to use in the real world.  The video will cover how to connect to a .csv file to pull the new SMTP addresses then connect to Live@EDU and update the user accounts.  I hope you find this information useful!

-Chris

About these ads

One Response to How to update multiple SMTP addresses using PowerShell

  1. Eric D. says:

    I do it this way to give a user multiple SMTP addresses in different domains. The Last Add seems to determine the Primary SMTP Address. Not saying this is the best way but it works for me.

    foreach($User in $Users) {
    $User.EmailAddresses.Clear()
    $User.EmailAddresses.Add(“SMTP:”+$User.Alias+”@secondarydomain.edu”)
    $User.EmailAddresses.Add(“SMTP:”+$User.Alias+”@yourprimarydomain.edu”)
    set-mailbox -Identity $User.WindowsLiveID -EmailAddresses $User.EmailAddresses
    }
    }

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.

%d bloggers like this: