How can I use a script to determine the site name of a domain controller (DC)?

A. The following script, which you can download here , takes as its parameter the name of a domain controller (DC) and returns its site name.

If Wscript.Arguments.Count 
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