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.
Tell me more
×
Server Fault is a question and answer site for
professional system and network administrators. It's 100% free, no registration required.
|
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. |
|||
|
|
|
From a command prompt, run SET. You'll get a listing of USERDOMAIN and USERDNSDOMAIN. |
|||
|
|
|
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:
|
||||
|
|