[Last Call] Learn how to a build a cloud-first strategyRegister Now


ADmodify to change a Contact domain.  Need variable

Posted on 2005-05-02
Medium Priority
Last Modified: 2012-06-27
Calling gurus...

We have 100 contacts that are used for text messaging.  The contacts use the General tab's "email" area for the defined address.  We then shoot an email off to the person and their pager recieves the text message.

We are changing providers and now need to update them.

When I go into ADmodify, I am able to change the SMTP address but with the defaul variables, it wants to insert the person's alias.  I need to tell it to keep the phone numbers from the email as the variable in front of the domain.

make sense?
Question by:gizmoadria
1 Comment

Accepted Solution

athelu earned 1200 total points
ID: 13921450
the variable for the telephone number field is    telephoneNumber
the variable for the exchange alias is mailNickname

i am trying to understand what you are trying to accomplish here, because it is a little fuzzy. you want the email address to end up like   5552221111@newdomain.com

so if you had the telephone number correct on the general tabe and wanted to do a mass update it would be:


if you are saying that you dont have the telephone number on the general tab, but it is instead the alias of the user, then:


this example would take the first 10 characters of the mailnickname (should be the phone number)

hope this makes sense and helps.


Featured Post

NFR key for Veeam Backup for Microsoft Office 365

Veeam is happy to provide a free NFR license (for 1 year, up to 10 users). This license allows for the non‑production use of Veeam Backup for Microsoft Office 365 in your home lab without any feature limitations.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Want to know how to use Exchange Server Eseutil command? Go through this article as it gives you the know-how.
In this post, I will showcase the steps for how to create groups in Office 365. Office 365 groups allow for ease of flexibility and collaboration between staff members.
In this video we show how to create an Accepted Domain in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: First we need to log into the Exchange Admin Center. Navigate to the Mail Flow >> Ac…
The video tutorial explains the basics of the Exchange server Database Availability groups. The components of this video include: 1. Automatic Failover 2. Failover Clustering 3. Active Manager
Suggested Courses
Course of the Month18 days, 10 hours left to enroll

834 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question