Avatar of Simon Allaway
Simon Allaway
Flag for United Kingdom of Great Britain and Northern Ireland asked on

How to create active directory contacts in a designated OU then transform them into mail contacts in exchange

Dear All

I am exporting my client contacts from my internal database management system to a CSV.  I would like to then use this data to create active directory contacts within AD and have them all in a designated OU.

Once the AD contacts have been created I would then like to make them mail enabled within exchange 2010.

Regards


Simon
ExchangeActive Directory

Avatar of undefined
Last Comment
Simon Allaway

8/22/2022 - Mon
ASKER CERTIFIED SOLUTION
Alan Cox

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
Simon Allaway

ASKER
Hi Alan

Thanks for answering my question.

Do I need to have the CSV in a particular format? First  Name , Address,  Town,  etc?

And is that a PowerShell command?  If so would I use PowerShell for exchange or the windows version?

Sorry as you can probably tell I don't use PowerShell.  Apologies in advance.

Regards

Simon
Alan Cox

no worries. I put the headers you would need:
CSV headers name, ExternalEmailAddress, organizationalUnit

Use Exchange powershell because you are creating mail contacts.

I used this exact command to create thousands of contacts for a customer/project I did a while back.
Alan Cox

work out ok for you?
Experts Exchange is like having an extremely knowledgeable team sitting and waiting for your call. Couldn't do my job half as well as I do without it!
James Murphy
Simon Allaway

ASKER
Worked like a charm Alan many thanks. One question if i was to add an additional column in the csv called "distribution group a"  would it add them automatically to the distribution group a? Or is that not possible?
Simon Allaway

ASKER
Many thanks this will save me so much time.  Truth be known a little exited to give it a go.