![]() Loading |
| VBScript |
| JavaScript |
| Powershell |
Search Options: List the Site Name for a Domain Controller
|
||
|
' Description: Reports the site name for a specified computer.
strDcName = "atl-dc-01" Set objADSysInfo = CreateObject("ADSystemInfo") strDcSiteName = objADSysInfo.GetDCSiteName(strDcName) WScript.Echo "DC Site Name: " & strDcSiteName | ||
© 2008 - 2013 Boris Toll :: Scripts available: 6.481 :: :: scriptbox.toll.at :: :: powered by www.toll.at :: | ||