Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Start Notepad and copy the following commands into the application:
Set objSysInfo = CreateObject("ADSystemInfo")
Wscript.Echo "Forest DNS Name: " & objSysInfo.ForestDNSName
Save the file as forestroot1.vbs.
Exit Notepad, then double-click forestroot1.vbs in Windows Explorer.
Windows will display the DNS name of the forest root.
Or
Start Notepad and copy the following commands into the application:
Set objRootDSE = GetObject("LDAP://RootDSE")
Wscript.Echo "Root Domain: " & objRootDSE.Get("RootDomainNamingContext")
Save the file as forestroot2.vbs.
Exit Notepad, then double-click forestroot2.vbs in Windows Explorer.
Windows will display the distinguished name (DN) of the forest root.
Because both files are VBScript files, you can also use Cscript to run them from the command line. For example, when I type
cscript forestroot1.vbs
my computer returns the following information:
Microsoft (R) Windows Script Host Version 5.6
Copyright (C) Microsoft Corporation 1996-2001. All rights reserved.
Forest DNS Name: savilltech.com
Likewise, when I type
cscript forestroot2.vbs
my computer returns the following information:
Microsoft (R) Windows Script Host Version 5.6
Copyright (C) Microsoft Corporation 1996-2001. All rights reserved.
Root Domain: DC=savilltech,DC=com