LoganDecker84
MIS
I have a number of DL's that I need to update the managed by field. All the DL's are located in the same OU. The script I am using is the following
Set objGroup = GetObject _
("LDAP://cn=Scientists,ou=R&D,dc=NA,dc=fabrikam,dc=com")
objGroup.Put "managedBy", "cn=MyerKen,ou=Management,dc=NA,dc=fabrikam,dc=com"
objGroup.SetInfo
First the script is generating a "dn syntax" error on the objGrop.Setfo line In addition is it possible to update all DL's that begin with DL-US-xxx all at once? I have about 50 DL's that begin with DL-US-xxx and to manually do them one at a time will be very time consuming. Appreciate your response.
Thanks
Set objGroup = GetObject _
("LDAP://cn=Scientists,ou=R&D,dc=NA,dc=fabrikam,dc=com")
objGroup.Put "managedBy", "cn=MyerKen,ou=Management,dc=NA,dc=fabrikam,dc=com"
objGroup.SetInfo
First the script is generating a "dn syntax" error on the objGrop.Setfo line In addition is it possible to update all DL's that begin with DL-US-xxx all at once? I have about 50 DL's that begin with DL-US-xxx and to manually do them one at a time will be very time consuming. Appreciate your response.
Thanks