Summary:
This function displays the tree of administration objects starting from the specified root node ROOT or at IIS://LocalHost, if no root node is specified. For each node, it displays the node's name, class, and if it is a virtual server, the ServerComment. By default, the script recurses through the tree, displaying all the deeper nodes as well. This behavior is disabled by the NoRecurse argument.
Usage:
disptree | [--adspath|-a ROOT] [--NoRecurse|-n] <--help|-h> |
Parameters:
ROOT | Full ADSI path to the root node of the tree. |
NORECURSE | Specifying this argument tells the script not to recurse into container objects to display the full tree. |
Example:
Disptree a IIS://LocalHost/w3svc -n