ChkUsers.vbs Syntax
Open command prompt now.
ChkUsers.vbs </A:adspath | /I:inputfile> [/P:properties] /C:criteria [/O:outputfile] [/U:username] [/W:password] [/Q] [/M] [/NQ]
- Where:
- adspath
- is the AdsPath of a domain.
- inputfile
- is a file containing a list of AdsPaths of domains. You use it to check multiple domains.
- properties
- are the properties you want to retrieve.
- criteria
- specifies the search criterion/criteria you want to use (this is mandatory).
- outputfile
- is the output file name.
- username and password
- are the user name and password of the current user.
- /Q
- suppresses all output messages.
- /M
- specifies that the output is written to multiple files and the file names are specified in the program.
- /NQ
- At run time, ChkUsers creates certain temporary files named Users* in the current directory. Before it does this, ChkUsers checks for existing files named Users*, and displays a message asking the user if he or she wants delete these files if they are found. The /NQ switch suppresses this message, and causes files named Users* in the current directory to be deleted without asking the user.
Note:
The criterion parameter is mandatory. You must specify either ADsPath or inputfile, but not both. The default user name and password are those of the current user. If you do not specify properties, then AdsPaths are retrieved.