Solved

Powershell Import into AD

Posted on 2013-01-29
4
285 Views
Last Modified: 2013-01-30
Hello Experts

I am looking to import users into AD Lab for testing of AD. I am a total novice in Powershell can someone give me some pointers in order to get the following details in?

GivenName,Surname,City,StreetAddress,Username,TelephoneNumber
Francesca,Ferguson,LLANDYSILIO,78 Malcolm Rd,Hitheree,079 0001 0588

Would really appreciate some help

Byron
0
Comment
Question by:BJ1962
  • 2
4 Comments
 

Author Comment

by:BJ1962
ID: 38833348
BTW the users are dummy! :-)
0
 
LVL 51

Assisted Solution

by:Ted Bouskill
Ted Bouskill earned 250 total points
ID: 38833449
You need to use the Powershell AD Cmdlets which are described here with examples:
http://technet.microsoft.com/en-us/library/ee617195.aspx

I highly recommend you use an editor like PowerGUI which has an AD extension and examples for learning how to work with AD using PowerShell.
0
 
LVL 3

Accepted Solution

by:
jeorge earned 250 total points
ID: 38834707
Alternately you can use csvde to import user in AD. The command is cvsvde -i -f C:\Example.csv

http://xp2600.blogspot.in/2008/04/how-to-import-users-to-active-directory.html

http://www.computerperformance.co.uk/Logon/Logon_CSVDE_Bulk.htm

http://www.computerperformance.co.uk/Logon/Logon_CSVDE_import.htm

Step-by-Step Guide to Bulk Import and Export to Active Directory Using the LDIFDE Utility/vbscript

http://technet.microsoft.com/en-us/library/bb727091.aspx

Bulk User Creation using PowerShell.Have a look at this

http://techstarts.wordpress.com/2007/02/21/bulk-user-creation-using-powershell-2/

http://dotnetmafia.sys-con.com/node/1457593/mobile

http://technet.microsoft.com/en-us/library/ee176874.aspx

I hope all these links will be very much useful to you.

Thanks
0
 

Author Closing Comment

by:BJ1962
ID: 38835692
Thanks guys really helpful - made me very happy!
0

Featured Post

Are your AD admin tools letting you down?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

Question has a verified solution.

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

Scenario:  You do full backups to a internal hard drive in either product (SBS or Server 2008).  All goes well for a very long time.  One day, backups begin to fail with a message that the disk is full.  Your disk contains many, many more backups th…
This script can help you clean up your user profile database by comparing profiles to Active Directory users in a particular OU, and removing the profiles that don't match.
This tutorial will walk an individual through the steps necessary to enable the VMware\Hyper-V licensed feature of Backup Exec 2012. In addition, how to add a VMware server and configure a backup job. The first step is to acquire the necessary licen…
To efficiently enable the rotation of USB drives for backups, storage pools need to be created. This way no matter which USB drive is installed, the backups will successfully write without any administrative intervention. Multiple USB devices need t…

895 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now