Quantcast
Channel: The Official Scripting Guys Forum! forum
Viewing all articles
Browse latest Browse all 15028

how to change other smtp address?

$
0
0

Exchange 2010 sp3, Win2k8 R2 AD

my proxyAddresses contain several email address:

SIP:12345@acme.com
SMTP:Bbunny@acme.com
smtp:Bugs@somedomain.com

i can change the primary SMTP address because there's a switch for it (-PrimarySmtpAddress) like this:

$Users = Import-CSV c:\myfile.csv
ForEach($User in $Users)
{
set-mailbox -identity  $user.loginid -PrimarySmtpAddress $user.primaryemail -EmailAddressPolicyEnabled $false
}

but how to change the second smtp address (smtp:Bugs@somedomain.com)?



Viewing all articles
Browse latest Browse all 15028

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>