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 ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access