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]

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

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

Community Additions

ADD
Show:
© 2014 Microsoft