Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

mail enable multiple contacts

Posted on 2010-09-10
3
Medium Priority
?
593 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 1600 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 400 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

Creating Active Directory Users from a Text File

If your organization has a need to mass-create AD user accounts, watch this video to see how its done without the need for scripting or other unnecessary complexities.

Question has a verified solution.

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

The core idea of this article is to make you acquainted with the best way in which you can export Exchange mailbox to PST format.
Steps to fix “Unable to mount database. (hr=0x80004005, ec=1108)”.
In this video we show how to create an email address policy 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…
This video shows how to quickly and easily deploy an email signature for all users in Office 365 and prevent it from being added to replies and forwards. (the resulting signature is applied on the server level in Exchange Online) The email signat…
Suggested Courses

916 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