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
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.