Windows DatabaseebooksStatistical Information

LWE10081 : Howto find the active directory site a computer is located in


You have created sites in active directory and want to know if the a certain computer is in a certain site


This is usefull for troubleshooting the logon of the client


You can write a little vbscript to find the site. You can also do look in active directory sites and trusts and look at the defined subnets. You than locate the IP address of the client in those subnets.

The vbscript that reads the site information looks like this:

Set objADSysInfo = CreateObject("ADSystemInfo")

WScript.Echo "Your current site name is " & objADSysInfo.SiteName


The information provided in this document is intended for your information only. Lubby makes no claims to the validity of this information. Use of this information is at own risk!
Copyright © 2004-2016 Lubby (V3.0.11 Jan 2016)
Sponsored by Keskon.
Datenschutzerklaerung - Privacy statement - Privacyverklaring