I have this script; see below, that will add/change a primary SMTP address. Id like everyones comment on it because it just seems too simple. We are thinking of adding a different
primary smtp address such as first initial, last name , other than the standard of 8 char to left of the @ sign.
Ive tested it ok on our lab exchange server and it worked.but like I said it just seems to simple.
Tiny..
Start-Transcript c:\temp\mailboxcreatelog.txt
Import-CSV c:\temp\input.csv | %{
Set-mailbox -Identity $_.DisplayName -EmailAddressPolicyEnabled $false
Set-Mailbox -Identity $_.DisplayName -PrimarySmtpAddress $_.primarysmtpaddress
}
Need to support users over the internet? click here try our remote control online beta




