Enumerating Computers, Users, Groups, Print Queues in a Domain

This sample enumerates the computers, users, groups or print queues in a specified domain.

This script should be run through a host application that supports VBScript, like the Windows Scripting Host or Internet Explorer. The script accepts the computer name in the format <DomainName> (e.g., MSFT). The results are logged to the file "Enumeration.txt" in the current directory.

image\hdisk.gif ...WSH\VBScript\Domain\Enumeration\