Solved

Powershell Import into AD

Posted on 2013-01-29
4
288 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

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

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 article shows the method of using the Resultant Set of Policy Tool to locate Group Policy that applies a particular setting.
This tutorial will walk an individual through the steps necessary to install and configure the Windows Server Backup Utility. Directly connect an external storage device such as a USB drive, or CD\DVD burner: If the device is a USB drive, ensure i…
This tutorial will walk an individual through the process of transferring the five major, necessary Active Directory Roles, commonly referred to as the FSMO roles from a Windows Server 2008 domain controller to a Windows Server 2012 domain controlle…

726 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