Loading |
VBScript |
JavaScript |
Powershell |
Search Options: List the Site Name for a Domain ControllerContent of List the Site Name for a Domain Controller.vbsMD5 Hash: A2B7D0EB00A4EDE545FCB5E8DAC079A8 |
||
' 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 :: |