' List the Site Name for a Domain ControllerstrDcName = "atl-dc-01"Set objADSysInfo = CreateObject("ADSystemInfo")strDcSiteName = objADSysInfo.GetDCSiteName(strDcName)WScript.Echo "DC Site Name: " & strDcSiteName search for scripts
' List the Site Name for a Domain ControllerstrDcName = "atl-dc-01"Set objADSysInfo = CreateObject("ADSystemInfo")strDcSiteName = objADSysInfo.GetDCSiteName(strDcName)WScript.Echo "DC Site Name: " & strDcSiteName
Download Home Scripts Copyright © 2001-2024 adersοft