Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks.

Go Back   Vista Forums > Misc Newsgroups > PowerShell

Vista - AD Site

Reply
 
Old 10-30-2009   #1 (permalink)
swyck


 
 

AD Site

Is there any way I can determine the AD site of a client by querying
the client directly, e.g. WMI?

Sure I can find their subnet and then query AD for a site that has
that subnet, but I don't want to query AD directly, I want to get the
information from the client itself.

My System SpecsSystem Spec
Old 10-31-2009   #2 (permalink)
Marcin


 
 

Re: AD Site

Query the value of DynamicSiteName registry entry under
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\ Netlogon\Parameters
key.
You might want to also check whether SiteName is present (since it overrides
dynamic site detection process)...

hth
Marcin

"swyck" <axlaim@newsgroup> wrote in message
news:302df16e-1529-4732-9b4f-28dc2b88e6fe@newsgroup
Quote:

> Is there any way I can determine the AD site of a client by querying
> the client directly, e.g. WMI?
>
> Sure I can find their subnet and then query AD for a site that has
> that subnet, but I don't want to query AD directly, I want to get the
> information from the client itself.

My System SpecsSystem Spec
Reply

Thread Tools


Similar Threads
Thread Forum
Can't connect to exchange server over site-to-site vpn SBS Server
Site-to-Site VPN & SBS 2003 Premium R2 SBS Server
Please help me with a web site Network & Sharing
Site forum site vista tutorials do not play General Discussion


Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46