Hi
I have a working script to create users in AD, I have a working script to create Groups in AD, the naming convention we use goes like this
Users: lsomebody (First letter of first name then Surname. In the user properties general tab we add the department the user belongs to using 2 character e.g. IT)
Groups: ggde_IT (gg=global group, de=department, IT=name of department)
What I want to do is add users to groups depending on what department they are in.
At the moment all users and groups are in the users container in Active Directory
If anyone could point me in the right direction that would be much appreciated.
Rob
I have a working script to create users in AD, I have a working script to create Groups in AD, the naming convention we use goes like this
Users: lsomebody (First letter of first name then Surname. In the user properties general tab we add the department the user belongs to using 2 character e.g. IT)
Groups: ggde_IT (gg=global group, de=department, IT=name of department)
What I want to do is add users to groups depending on what department they are in.
At the moment all users and groups are in the users container in Active Directory
If anyone could point me in the right direction that would be much appreciated.
Rob