Hello there. Hope someone can help me out here!
I've got a script which uses the WMI service to get information about the
domain, using this query....
Select * from Win32_NTDomain where DomainName='MYDOMAIN'
From this information, I use the DcSiteName to automatically configure the
local machine (long story). Anyway, this works fine - I can grab the domain
controller site name under windows XP, but this won't work for Windows 2000.
This is true, according to the scripting pages on Microsoft.com.
So basically, im asking if there is a way I can find out the DC Site Name
under windows 2000, using VBScript?
Thanks in advance,
Simon