I am trying to find a script that will allow me to add an additional email address to everyone in the company in the format of:
firstname.lastname@domain.com
I do not want this to be the default address, and I don't want to lose the addresses already assigned to the account.
I have found a lot of questions similar to this one in the forums, and one that seems to be exactly what I want, but it might be dated as it isn't working when I save it as addaddress.ps1 and then run it from the Exchange Management Shell.
The script I found that is supposed to to exactly what I'm looking for was found in this post:
http://social.technet.microsoft.com/Forums/en-US/bd96d066-fd45-4395-bfb5-ab907396d8a3/exchange-2007-ps-command-to-add-firstnamelastnamemydomaincom-smtp-address?forum=exchangesvrgenerallegacy
It is as follows:
}
The problems is that when I try and run this, I get error that a pipeline is already executing.
Can someone help me out?