//+------------------------------------------------------------------------- // // THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF // ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO // THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A // PARTICULAR PURPOSE. // // Copyright (c) Microsoft Corporation. All rights reserved. // // Perl Samples: Using ADSI with Perl // //-------------------------------------------------------------------------- Description =========== The three sample Perl scripts demonstrate how to use ADSI with the Perl scripting language. * Binding.Pl shows how to bind to a Directory Service object. * Create.Pl shows how to create and delete objects. * Modify.Pl shows how to retrieve and set properties of an object, including both single and multivalue properties. These samples use the LDAP: provider and are suitable for Windows 2000 and later networks running Active Directory. Sample Files ============ * Binding.Pl * Create.Pl * Modify.Pl Running the Sample ================== To run these samples, you must install a script engine for the Perl language. To run one of the samples 1. Open a command window and change to the directory that contains the Perl scripts. 2. Make appropriate changes to a script using a text editor before running. Details for each script appear in the following How the Sample Works section. 3. At the command prompt, type the command cscript