How to find out which active directory site a computer is in

I was working with our Desktop architect on system center config manager 2012 and we are using AD sites and services to determined which distribution point to pull updates from.
The process wasn’t working so we were troubleshooting and she asked which AD site my computer was in, I knew what it should be but I wanted an easy way to findout what which site my computer that it was in.

The command is

nltest /dsgetsite

if you want to know about a remote machine you use

nltest /server:machine_name /dsgetsite

it doesn’t have to be a a server that’s just the switch.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.