Solved

Powershell Import into AD

Posted on 2013-01-29
4
284 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
Comment Utility
BTW the users are dummy! :-)
0
 
LVL 51

Assisted Solution

by:tedbilly
tedbilly earned 250 total points
Comment Utility
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
Comment Utility
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
Comment Utility
Thanks guys really helpful - made me very happy!
0

Featured Post

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

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…
Restoring deleted objects in Active Directory has been a standard feature in Active Directory for many years, yet some admins may not know what is available.
This tutorial will give a an overview on how to deploy remote agents in Backup Exec 2012 to new servers. Click on the Backup Exec button in the upper left corner. From here, are global settings for the application such as connecting to a remote Back…
This tutorial will walk an individual through the steps necessary to configure their installation of BackupExec 2012 to use network shared disk space. Verify that the path to the shared storage is valid and that data can be written to that location:…

743 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

16 Experts available now in Live!

Get 1:1 Help Now