 raheelch Posts 1
|
Hi, I am working as system administrator now my boss assigned me a task to create a script through which AD can automatically add/delete/change users from .csv file. I have not any idea of vb scripting. I would like to request any VB expert to please please help me to fulfill this task as its required to secure my job. I have used Scott Lowe's script (http://i.zdnet.com/blogs/create-users-in-active-directory-from-a-csv-file-with-this-vbscript.pdf) to add user but I don't know how to add/delete/change users from one csv file. please help
following is my csv file data:
Action,GivenName,SN,DisplayName,samAccountName,Name,Password,OU A,Tommy,Tester,Tommy Tester,Ttester,Ttester,myPa$,OU=Students.O=hms.local A,Jane,Tester,Jane Tester,Jtester,Jtester,myPa$,OU=Students.O=hms.local D,raheel,raheel,raheel raheel,qamar,qamar,qamar1,OU=Students.O=hms.local U,adam,adam,adam adam,ghilcrist,ghilcrist,qamar2,OU=Students.O=hms.local
Attachments:
createusersfromcsv.vbs
Data-Revised.zip
|