VBScript program to document the major components of a Forest. The program documents all domains,
containers, and organizational units. Within each of these containers, the program documents all
groups, plus the number of computer and user objects in the container.
For each group, the program documents the type of group. The program also documents the number of
computer and user objects in each group. The program includes user and computer objects that have
the group designated as its "Primary Group".
The program is designed to be run at a command prompt with the cscript host. The output can be
redirected to a text file. For example, the program could be run with the following statement:
cscript //nologo DocumentForest.vbs > MyForest.txt
DocumentForest.txt <<-- Click here to view or download the program
In addition, a PowerShell script has been developed to document the Active Directory forest functional level (FFL), the two forest wide FSMO role holders, and all of the domains in the forest. For each domain, the script documents the domain functional level (DFL) and the three domain wide FSMO role holders. Finally, the script lists all sites and all Global Catalog servers.
ForestInfo.txt <<-- Click here to view or download the program