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.

Enhanced by Zemanta

The Author


Welcome, my name is Jason Benway I am the owner and primary blogger for Savage Nomads. I have been in the IT field for over 20 years, I started this site to share my findings with others. I live in Michigan with my family and went to school for a degree in computer science. I’ve worked at the same company for the last 14 years, I get to test and deploy lots of new and emerging technologies.
Savage Nomads © 2014 Frontier Theme