Solved

Powershell Import into AD

Posted on 2013-01-29
4
286 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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

A safe way to clean winsxs folder from your windows server 2008 R2 editions
Is your Office 365 signature not working the way you want it to? Are signature updates taking up too much of your time? Let's run through the most common problems that an IT administrator can encounter when dealing with Office 365 email signatures.
This tutorial will walk an individual through locating and launching the BEUtility application to properly change the service account username and\or password in situation where it may be necessary or where the password has been inadvertently change…
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 to another domain controller. Log onto the new domain controller with a user account t…

808 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