Search Syntax
Applies To: Windows Server 2003, Windows Server 2003 R2, Windows Server 2003 with SP1, Windows Server 2003 with SP2
Search Syntax
search.vbsadspath [/C:criteria] [/P:properties] [/S:scope] [/O: outputfile] [/U:username] [/W:password] [/Q]
Parameters
- adspath
Specifies the AdsPath of the root of the search (mandatory).
- /C: criteria
Specifies the criteria for the search (Default = "ObjectCategory=*").
- /P: properties
Specifies the properties to be retrieved (default = AdsPath).
- /S: scope
Specifies the scope of the search (default = OneLevel).
- **/U: usernameand **/W:password
Specifies the user name and password of the current user.
- /Q
Suppresses all output messages.
- /O: outputfile
Specifies the search result output file name.
Notes
Only the adspath parameter is mandatory. The default criteria is ObjectCategory =* (all classes), the default property to be retrieved is AdsPath, and the default scope is OneLevel. The default of username and password are those of the current user.
See Also
Concepts
Search Overview
Search Remarks
Alphabetical List of Tools
Replmon Overview
Repadmin Overview
Movetree.exe
Ldp Overview
Dsastat Overview
Clonepr Overview
ADSI Edit (adsiedit.msc)
Acldiag Overview