Jump to content

Recommended Posts

Posted

I need to create contacts for all the former students of a college.

I have an excel list of all the names. I have tried doing it manually but there are 500 names and I need to use an automated way to do this.

Please assist

  • 2 weeks later...
Posted
If you use powershell, you can download free tools from Quest Software (their ActiveRoles addons) that allow you to import CSV files and work with them in Active Directory.
Posted

Even better... you can do it with the Exchange snapins....

 

$ou = ""

$DC = ""

$users = "File location"

 

import-csv $users | foreach {$last, $first, $mail = $_.last, $_.first, $_.mail new-mailcontact -name "$first $last" -ExternalEmailAddress "$Mail" -DomainController "$DC" -OrganizationalUnit "$OU"}

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...