Was this page helpful?
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

Search Syntax

Updated: March 28, 2003

Applies To: Windows Server 2003, Windows Server 2003 R2, Windows Server 2003 with SP1, Windows Server 2003 with SP2

Search Syntax

Art Image search.vbs adspath [/C:criteria] [/P:properties] [/S:scope] [/O: outputfile] [/U:username] [/W:password] [/Q]


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.

Suppresses all output messages.

/O: outputfile
Specifies the search result output file name.


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

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

© 2015 Microsoft