Q. How can I create an HTML view of my organizational unit (OU) structure?

A. To answer this, I modified the script in the FAQ "How can I create a summary of the contents of the organizational units (OUs) in my environment?" so that it outputs to a HTML file and includes the total number of OUs and the maximum depth of OUs that it found. Download the code and extract the oulisthtmlgraph.vbs file from oulist.zip. (The zip file also contains oulisthtml.vbs, an earlier version of the script that doesn't output HTML graphics.) In addition, oulist.zip contains five image files, which you should place in a folder named "images" in the directory where your output HTML file will be stored. (Placing the image file in this location ensures that Microsoft Internet Explorer (IE) can find the graphics when it opens the HTML file.) The figure shows an example of the script's HTML output.

Hide comments

Comments

  • Allowed HTML tags: <em> <strong> <blockquote> <br> <p>

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.
Publish