Testing the Script

This script can be easy to test. You need to create a working OU with a single user in it to begin. You can simplify this script even further by modifying only the telephone number. You are able point the script to the test tree by modifying the following line to point to the new point in the tree:

Set oDomain=GetObject("LDAP://OU=GPLAB,DC=w2k,DC=Wadeware,DC=net")

After you have made the changes to the script, the next step is to run some tests. You can do this by changing the phone number and by using the Active Directory Users and Computers MMC snap-in to validate the changes.

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.