Solved

mail enable multiple contacts

Posted on 2010-09-10
3
582 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

Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Question has a verified solution.

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

Lotus Notes – formerly IBM Notes – is an email client application, while IBM Domino (earlier Lotus Domino) is an email server. The client possesses a set of features that are even more advanced as compared to that of Outlook. Likewise, IBM Domino is…
We are happy to announce a brand new addition to our line of acclaimed email signature management products – CodeTwo Email Signatures for Office 365.
In this video we show how to create a Contact 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 Recipients >> Contact ta…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

803 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