Link to home
Start Free TrialLog in
Avatar of Ashar Kallumpurathu
Ashar KallumpurathuFlag for United States of America

asked on

Power she'll scripts for adding users

I want a power shell script for adding users to a specific Ou in the active directory the user should have first name , last name, phonenumber, officedepartment as attributes
Avatar of Paul Wilson
Paul Wilson

hii ,
for this first you need to have .csv file of users containing the infirmation that you want like first name, last name, phone number extra. Then you can import this file In AD using powershell script.  Complete steps are explained here:
http://blogs.msdn.com/b/amitgupta/archive/2012/02/06/creating-bulk-users-in-active-directory-using-powershell.aspx
https://gallery.technet.microsoft.com/scriptcenter/PowerShell-Create-Active-7e6a3978

Regards.
Avatar of Ashar Kallumpurathu

ASKER

It Work Awesome for me
If it works for you then do mark as an answer :)
answer
I mean accepted solution
ASKER CERTIFIED SOLUTION
Avatar of Ashar Kallumpurathu
Ashar Kallumpurathu
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
It Worked for me