' Verify That an Attribute is in the Global CatalogstrAttributeName = "cn=given-name" Set objSchemaAttribute = GetObject _ ("LDAP://" & strAttributeName & _ ",cn=schema,cn=configuration,dc=fabrikam,dc=com") blnInGC = objSchemaAttribute.Get("isMemberOfPartialAttributeSet") If blnInGC Then WScript.Echo "The " & strAttributeName & _ " attribute is replicated to the Global Catalog."Else WScript.Echo "The " & strAttributeName & _ " attribute is not replicated to the Global Catalog."End If search for scripts
' Verify That an Attribute is in the Global CatalogstrAttributeName = "cn=given-name" Set objSchemaAttribute = GetObject _ ("LDAP://" & strAttributeName & _ ",cn=schema,cn=configuration,dc=fabrikam,dc=com") blnInGC = objSchemaAttribute.Get("isMemberOfPartialAttributeSet") If blnInGC Then WScript.Echo "The " & strAttributeName & _ " attribute is replicated to the Global Catalog."Else WScript.Echo "The " & strAttributeName & _ " attribute is not replicated to the Global Catalog."End If
Download Home Scripts Copyright © 2001-2025 adersοft