Link to home
Start Free TrialLog in
Avatar of Simon Allaway
Simon AllawayFlag 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
ASKER CERTIFIED SOLUTION
Avatar of Alan Cox
Alan Cox
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of 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
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.
work out ok for you?
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?
Many thanks this will save me so much time.  Truth be known a little exited to give it a go.