ADSI OverviewADSI Scripting FundamentalsPrimary ADSI Scripting TasksCreating Directory Service ObjectsCreating an OUCreating a User AccountCreating a GroupModifying Directory Service ObjectsModifying an Attribute of an OUModifying an Attribute of a User AccountModifying an Attribute of a GroupReading Attributes of Directory Service ObjectsReading an Attribute of an OUReading an Attribute of a User AccountReading an Attribute of a GroupDeleting Directory Service ObjectsDeleting a GroupDeleting a User AccountDeleting an OUComparing the Primary Scripting TasksBuilding ADSI ScriptsStep 1: Establishing a ConnectionChoosing a Directory Service Object for a Binding OperationPerforming a Binding OperationADsPathCreating an Object Reference to the Directory ObjectStep 2: Performing a TaskTask CodeMethod ParametersStep 3: Committing to Active DirectoryPerforming Multiple Scripting TasksPreliminary StepsBinding to a User Account ObjectWriting or Modifying AttributesReading and Displaying the Modified AttributesAdvanced ADSI Scripting OperationsAdministering Multivalued AttributesModifying Multivalued AttributesRestrictions in performing modifications by using the PutEx methodClearing multivalued and single-valued attributes with the PutEx methodUpdating a Multivalued Attribute of a GroupAppending an Entry to a Multivalued Attribute of a GroupDeleting an Entry from a Multivalued Attribute of a GroupClearing a Multivalued Attribute of a GroupUpdating Multivalued Attributes of a User AccountReading Multivalued AttributesReading a Multivalued Attribute of a GroupReading Multivalued Attributes of a User AccountData CachingHow the Get Method Retrieves AttributesHow the GetEx Method Retrieves AttributesMaking Explicit Calls by Using the GetInfo MethodMaking Explicit Calls by Using the GetInfoEx MethodCopying, Moving, and Renaming ObjectsCopying ObjectsCopying a Computer AccountCopying a User AccountMoving and Renaming ObjectsGeneral Conditions for Cross-Domain MovesRenaming a Published PrinterMoving a Group from One Container to AnotherMoving an OU from One Domain to AnotherSearchingSearching Active DirectoryCreating a Simple Search ScriptScripting the Attributes to Be Returned by the SearchLimiting a Search to a Specific Type of ObjectSpecifying the Global Catalog in the Search BaseUsing Referral Chasing to Expand the Result SetControlling the Scope of a SearchSorting the Results of a SearchRetrieving Multivalued Attributes from a SearchUsing Range Limits When Retrieving Multivalued AttributesOptimizing Search PerformanceConsolidating Query StringsLimiting the Result SetSpecifying Additional Command Object PropertiesUsing the Global Catalog to Perform Search OperationsMinimize Object Creation (Instantiation)Performing an Administrative Task Using a Result SetModifying an Attribute in Multiple ObjectsMoving Objects Containing a Certain Value for an AttributeEnumerating Active Directory Objects in ContainersScripting Container EnumerationEnumerating the Contents of a ContainerEnumerating a Container to Perform an Administrative TaskLimiting Container Enumeration to a Specific Object TypeRoot Directory Service EntryScripting with rootDSEBinding to the Current DomainBinding to the Root DomainBinding to the Configuration ContainerBinding to the Schema ContainerActive Directory ArchitecturePhysical ArchitectureLogical StructureClasses and AttributesMandatory and Optional AttributesClass Inheritance and CategorizationSnap-ins For Viewing and Configuring User Account Attributes, Classes, and ObjectsActive Directory Replication and IndexingPartitions Replicated on Domain ControllersAttributes Replicated to the Global CatalogIndexed AttributesAttributes That Are Both Replicated to the Global Catalog and IndexedOperational AttributesADSI ArchitectureADSI LayersDirectory NamespaceProvidersRouterProperty CacheADSI-Enabled ApplicationsADSI InterfacesCategorizing InterfacesLDAP Provider Objects and Their InterfacesIADs PropertiesIADsContainer Property