Nltest
nltest

To display all the trusts throughout the entire domain type

nltest /domain_trusts

To display e.g. the TIMESERVER in your domain to troubleshoot time issues type
nltest /dsgetdc:domainname_of_your_domain /timeserv

To query a logon to a server type:
nltest /QUERY /SERVER:domaincontroller_servername

Commandline Tricks To Do The Job Faster

Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License