Check Which Domain Controller Server Is Using
Here s the command to tell us exactly that.
Check which domain controller server is using. Open command prompt and enter command. As you may know exchange dsaccess will choose its list of server s based on suitability tests and then caches this access info. There is a quick and easy way to check which domain controller your windows pc is authenticated to via the command line.
Here are the answers. Set exchangeserver and then one of the following options. Once the console is deployed run the following cmdlet to check the status of the.
Execute it with elevated privileges nltest dsgetdc domain this will return you the domain controller you are getting authenticated from. If you want to know what your domain controllers time server configuration is you can run two simple command line query s. Click the start feature and choose run to open the command prompt.
To check the status of the services in windows server we will use powershell. Using echo username will allow you create a script to identify the authenticating domain controller. We often get asked how to easily via powershell determine which active directory domain controllers and global catalog servers an exchange 2007 2010 2013 or 2016 are using for directory access during an exchange migration using the priasoft migration suite for exchange.
To change it use. Which domain controller you are connected to and want to see the how client computer see domain controllers. Echo logonserver you will get output like servername that authenticated the current user on the machine.
On newer versions press windows q to launch the apps screen and type cmd exe into the search bar. See the figure below. There is the dc in use.