CSV file for Add users into Active directory
can any one provide me the CSV file for Add users into Active directory using VBScript.
Thanks
sai
Software
can any one provide me the CSV file for Add users into Active directory using VBScript.
Thanks
sai
by saidulu.p Accepted solution
by wizard-09 Accepted solution
You question 1st page I got this information.
Set objOU = GetObject("LDAP://OU=management,dc=fabrikam,dc=com")
Set objUser = objOU.Create("User", "cn=MyerKen")
objUser.Put "sAMAccountName", "myerken"
objUser.SetInfo
Set objUser = GetObject _
("LDAP://cn=myerken,ou=management,dc=fabrikam,dc=com")
objUser.AccountDisabled = FALSE
objUser.SetInfo
here is the website for all VB scripts for AD
Keep us informed as to your progress if you require further assistance.
If you think that any of the posts that have been made by all TR Members, have solved or contributed to solving the problem, please Mark them as Helpful so that others may benefit from the outcome.
by saidulu.p Accepted solution
thank you somuch.
But i this scenario i have to create 100 users in Active Direcotry.
i heard that we can create users in bulk using csv files. As well we can edit user attributes.but i dont konw how to create csv files.
My Requirement is
1. have to create 100 users in AD environment
2. have to edit attributes for 150 users
can you provide me the work around for this.
by wizard-09 Accepted solution
This discussion is closed to new replies.
Sort by Trending