Is there a quick way to discover what Active Directory site the current server you are logged into is? I googled but couldn't find anything.
Is there a quick way to discover what Active Directory site the current server you are logged into is? I googled but couldn't find anything.
Sites are determined by subnet in CIDR notation in the Sites and Services snap-in. You could just take a screenshot of the configuration and by your IP address, determine what site it should be in. Now, if you're looking for a command that shows the CURRENT site try the gpresult command line tool. I'm almost positive that will print it out for you.
Run the following in an administrator command prompt:
Example output:
Another option would be to use Nltest:
For more details including all applied Group Policy Objects (GPO) run the following commands:
From a command prompt, run SET.
You'll get a listing of USERDOMAIN and USERDNSDOMAIN.