I need to update the web address field in AD for users that are part of a specific group. The updated field will have the same data in it. I do have a query that pulls the users, but now I need to know how to update each users Web Address Field....
Dim strMember, strDNSDomain, strContainer
Dim objGroup, objRootDSE
' Bind to Active Directory'
strContainer = "cn=NoInternetMail,cn=Users, "
Set objRootDSE = GetObject("LDAP://RootDSE")
strDNSDomain = objRootDSE.Get("DefaultNamingContext")
' Get the Builtin Administrators group
Set objGroup = GetObject ("LDAP://"& strContainer & strDNSDomain)
arrMemberOf = objGroup.GetEx("member")
' Loop = For Each .... Next
' WScript.Echo "Members of Group " & strContainer
For Each strMember In arrMemberOf