set-mailcontact -emailaddresses Append instead of replacing?
When you do
Code Block
set-mailcontact -identity ebay -emailaddresses xxxxx@xxxxxx.com,XXXXX@xxxxx.com
It will add those 2 email addresses but will remove any others. Is there a way to make it append an e-mail address instead of replacing?
September 28th, 2007 10:02pm
Hello,
Type in anotepad the following lines :
$mbx = get-Mailcontact ebay$mbx.EmailAddresses +="newaddr@example.com"$mbx| set-Mailcontact
Save the file as name.ps1
Open an Exchangemanagement shell console
Execute the file using .\name.ps1
Free Windows Admin Tool Kit Click here and download it now
April 11th, 2008 6:52pm