' Convert domain name to ADsPathstrDomainName = "accounting.sea.na.fabrikam.com"arrDomLevels = Split(strDomainName, ".")strADsPath = "dc=" & Join(arrDomLevels, ",dc=")WScript.Echo strADsPath search for scripts
' Convert domain name to ADsPathstrDomainName = "accounting.sea.na.fabrikam.com"arrDomLevels = Split(strDomainName, ".")strADsPath = "dc=" & Join(arrDomLevels, ",dc=")WScript.Echo strADsPath
Download Home Scripts Copyright © 2001-2024 adersοft