Creating a Simple Script

Now that the benefits of creating a script for administration have been discussed, the next step is to create a script that modifies Active Directory.

Modifying the directory using scripts involves several parts. Without scripts, you can bring up the MMC and add the snap-in for modifying users and computers. After this is configured, you are able to select an object and modify the fields of the object online. If you perform this action, several items are taking place without your noting. First, the MMC snap-in is actually looking at the Active Directory schema. The schema includes the object names, the descriptive names, and the value or values for each object. As an example, if you open a user object and then look ...

Get Windows® 2000 Active Directory™ now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.