Name
search.vbs
Synopsis
[cscript] search.vbs LDAP://dist-name
[options
]
Search the Active Directory. The required argument is the distinguished name of the point at which to begin the search, preceded by LDAP://. (cscript is not needed if it is the default WSH engine.)
Options
- /C: criteria
Specify search criteria (in standard LDAP format). The default is “(ObjectCategory=*)”.
- /S: scope
Set the depth of the search to either BASE, ONELEVEL (the default), or SUBTREE.
- /P: props-to-display
Display the specified object properties (the default is AdsPath).
- /U:user /P: pwd
Specify the username and password for authentication.
Get Windows 2000 Commands Pocket Reference 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.