ListDCs.vbs Syntax
Open command prompt now.
ListDCs.vbs adspath [/O:outputfile] [/U:username] [/W:password] [/Q]
Where:
- adspath
- is the ADsPath of a container object containing all computer objects in a domain.
- outputfile
- is the output file name.
- username and password
- are the user name and password of the current user.
- /Q
- suppresses all output messages.
Notes
- This script works only with an LDAP provider.
- The default of username and password are those of the current user.