Find Administrative Node (findnode)
Summary: This function walks the tree of admin nodes searching for a node which matches the parameters specified at the command line. The full ADSI path of all matching nodes is displayed.
Usage:
Prototype | |
findnode |
[--ADSPath|-a ROOT NODE] <--search|-s SEARCH STRING> [--field|-f FIELD] [--class|-c CLASS] [--help|-?] |
Arguments | |
ROOT |
Full ADSI path to the root node of the tree to be searched. |
STRING |
The search string. |
PROPERTY |
The name of the property whose value must be STRING for a match to occur. This must be a gettable property. If this argument is not specified, the "Name" property is used by default, or in the case of Virtual Servers, the ServerComment property is used. |
CLASS |
The class of the node to be found. This can be used as an extra search parameter to narrow the search. |
NORECURSE |
Specifying this argument tells the script not to recurse into container objects to search the full tree. |
Example:
Findnode –search "Joe’s Web Site" –class "IisWebServer"