Solved

mail enable multiple contacts

Posted on 2010-09-10
3
580 Views
Last Modified: 2012-05-10
I have hundreds of contacts I need to create in exchange 2003. I have a script that created the contacts wiht givenname, sn, displayname and email address. after I create the objects i need to mail enable them; however, selecting multiple contacts in AD doesn’t give me the option to mail enable, only delete email address. If I choose one of the contacts by itself I have the option to mail enable. How can I mail enable all these contact entries?
0
Comment
Question by:KratosDefense
  • 2
3 Comments
 
LVL 32

Accepted Solution

by:
endital1097 earned 400 total points
ID: 33651464
i've been working with powershell for several years now so it is my preference
you can download and install powershll and the quest tools below
http://www.quest.com/powershell/activeroles-server.aspx

then you can create mail-enabled contacts with i believe new-qadcontact
0
 
LVL 32

Expert Comment

by:endital1097
ID: 33651730
the script would be like the following
where your csv file has the headers:
Name,DisplayName,Alias,Mail
Import-Csv c:\contacts.csv | ForEach-Object {

New-QADObject-Type Contact -ParentContainer contoso.com/OUname -Name $_.Name -DisplayName $_.DisplayName;

Set-QADObject $_.Name -ObjectAttributes @{mailNickname=$_.alias; legacyExchangeDN="/o=ExchOrg/ou=First Administrative Group/cn=Recipients/cn="+$_.alias ;mAPIRecipient = $false;mail=$_.mail ;targetaddress="SMTP:"+$_.mail} }

Open in new window

0
 
LVL 49

Assisted Solution

by:Akhater
Akhater earned 100 total points
ID: 33652318
what kind of script are you using to create them ?

if you are using vbs then just modify it to mail enable them directly

http://msdn.microsoft.com/en-us/library/ms870495%28EXCHG.65%29.aspx
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Resolve Outlook connectivity issues after moving mailbox to new Exchange 2016 server
This process describes the steps required to Import and Export data from and to .pst files using Exchange 2010. We can use these steps to export data from a user to a .pst file, import data back to the same or a different user, or even import data t…
In this Micro Video tutorial you will learn the basics about Database Availability Groups and How to configure one using a live Exchange Server Environment. The video tutorial explains the basics of the Exchange server Database Availability grou…
how to add IIS SMTP to handle application/Scanner relays into office 365.

760 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now