hungrybeaver
Expert Member
Software seems like the best fit for this...
In Exchange 2010 I have 900+ mail contacts. Recently I migrated from Exchange 2003 and all of these contacts now need to have their SMTP address set as their primary reply, and this somehow was lost during the migration. All the required information is in each mail contact and all I have to do it open the contact, accept a prompt, and Set As Reply on the smtp address that is already there..
This is what I have done in my powershell script which has worked on 1 user:
My question is, how can I apply a similar script to a large amount of users that each have different Aliases and Different SMTP addresses? The aliases do not match the SMTP address, but ALL aliases start with debtors and then a number. eg debtors4921
I figure I could run
, but for the SMTP setting, how could I get the command to grab the SMTP information from within the specified alias?
I really don't want to manually click into each of the 900+ contacts...
In Exchange 2010 I have 900+ mail contacts. Recently I migrated from Exchange 2003 and all of these contacts now need to have their SMTP address set as their primary reply, and this somehow was lost during the migration. All the required information is in each mail contact and all I have to do it open the contact, accept a prompt, and Set As Reply on the smtp address that is already there..
This is what I have done in my powershell script which has worked on 1 user:
Code:
set-mailcontact -alias "alias" -emailaddresses 'SMTP:[email protected]'
My question is, how can I apply a similar script to a large amount of users that each have different Aliases and Different SMTP addresses? The aliases do not match the SMTP address, but ALL aliases start with debtors and then a number. eg debtors4921
I figure I could run
Code:
-alias "debtors*" -emailaddresses 'SMTP:
I really don't want to manually click into each of the 900+ contacts...