' Remove the Manager of a GroupConst ADS_PROPERTY_CLEAR = 1 Set objGroup = GetObject _ ("LDAP://cn=Scientists,ou=R&D,dc=NA,dc=fabrikam,dc=com")objGroup.PutEx ADS_PROPERTY_CLEAR, "managedBy", 0objGroup.SetInfo search for scripts
' Remove the Manager of a GroupConst ADS_PROPERTY_CLEAR = 1 Set objGroup = GetObject _ ("LDAP://cn=Scientists,ou=R&D,dc=NA,dc=fabrikam,dc=com")objGroup.PutEx ADS_PROPERTY_CLEAR, "managedBy", 0objGroup.SetInfo
Download Home Scripts Copyright © 2001-2024 adersοft