Hallo again,
I am sure there are script gurus those who can help me out, I did try by my own to make a simple script to add a users to a group but it does not work. Well it?s a simple command:
objGroup.Add(“LDAP://cn=SueP10,cn=vsnu,cn=users,dc=vsnu,dc=uu,dc=nl”)
Does it matter if it?s a security or distribution group?
I find this script on internet:
strGroupDN = “
strMemberDN = “
‘ —— END CONFIGURATION ———
set objGroup = GetObject(“LDAP://” & strGroupDN)
‘ Add a member
objGroup.Add(“LDAP://” & strMemberDN)
——————————————–
Please advice first part is a file with users and group and the second is a script. Or it?s a single script. For each group I need to create separate script, can I have more than one user in “strMemberDN”?
It is not working, what is wrong in this picture.
Please help.
Thank you.
Shashi