Is it possible to determine which AD subnet the current session belongs to?
I'm looking for something similar to the "SiteName" property of
"ADSystemInfo" COM object:
Set objADSysInfo = CreateObject("ADSystemInfo")
WScript.Echo "Current site name: " & objADSysInfo.SiteName
But I'm looking for the name or DN of the current subnet that was used to
determine the connection was under that site.
(A subnet name like "10.10.10.10/24" or
LDAP://CN=10.10.10.10/24,CN=Subnets,CN=Sites,CN=Configuration,DC=domain,DC=com)