<html dir=ltr><head><title>Display Administrative Tree (disptree)</title> <SCRIPT LANGUAGE="JavaScript"> <!-- TempString = navigator.appVersion if (navigator.appName == "Microsoft Internet Explorer"){ // Check to see if browser is Microsoft if (TempString.indexOf ("4.") >= 0){ // Check to see if it is IE 4 document.writeln('<link rel="stylesheet" type="text/css" href="/iishelp/common/coua.css">'); } else { document.writeln('<link rel="stylesheet" type="text/css" href="/iishelp/common/cocss.css">'); } } else if (navigator.appName == "Netscape") { // Check to see if browser is Netscape document.writeln('<link rel="stylesheet" type="text/css" href="/iishelp/common/coua.css">'); } else document.writeln('<link rel="stylesheet" type="text/css" href="/iishelp/common/cocss.css">'); //--> </script> <SCRIPT LANGUAGE="VBScript"> <!-- Sub Window_OnLoad() Dim frmContents On Error Resume Next If Not Parent Is Nothing Then Set frmContents = Parent.Contents If Not frmContents Is Nothing Then frmContents.Window.TOCSynch_Click End If End If End Sub //--></SCRIPT> <meta name="description" content="This topic contains conceptual and procedural information about the Display Administrative Tree (disptree) administration script."> <META HTTP-EQUIV="Content-Type" content="text/html; charset=Windows-1252"> <META HTTP-EQUIV="PICS-Label" CONTENT='(PICS-1.1 "<http://www.rsac.org/ratingsv01.html>" l comment "RSACi North America Server" by "inet@microsoft.com <mailto:inet@microsoft.com>" r (n 0 s 0 v 0 l 0))'> <META NAME="MS.LOCALE" CONTENT="EN-US"> <META NAME="MS-IT-LOC" Content="Internet Information Services"> </head> <body bgcolor="#FFFFFF" text="#000000"> <font face="Verdana,Arial,Helvetica"> <h1 ALIGN="left">Display Administrative Tree (disptree)</h1> <p><strong>Summary:</strong></p> <p>This function displays the tree of administration objects starting from the specified root node <em>ROOT</em> 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.</p> <p><strong>Usage:</strong></p> <table cellspacing="2" cellpadding="5"> <tr> <td valign="TOP">disptree</td> <td>[--adspath|-a <em>ROOT</em>]<br> [--NoRecurse|-n]<br> <--help|-h></td> </tr> </table> <p><strong>Parameters:</strong></p> <table cellspacing="2" cellpadding="5"> <tr> <td valign="TOP"><em>ROOT</em></td> <td>Full ADSI path to the root node of the tree.</td> </tr> <tr> <td valign="TOP">NORECURSE</td> <td>Specifying this argument tells the script not to recurse into container objects to display the full tree.</td> </tr> </table> <p><STRONG>Example:</STRONG></p> <p>Disptree –a IIS://LocalHost/w3svc -n</p> <hr class="iis" size="1"> <p align="center"><em><a href="/iishelp/common/colegal.htm">© 1997-2001 Microsoft Corporation. All rights reserved.</a></em></p> </font> </body> </html>