/
Domain Information
Domain Information
Get the Short Domain Name
CMD: echo %userdomain%
Powershell: gci env:userdomain
Get the Domain
From an elevated prompt (cmd or powershell)
nltest /parentdomain
Get Domain Controller
From an elevated prompt (cmd or powershell)
nltest /dsgetdc:<DOMAINNAME>
Ex: nltest /dsgetdc:foray.local
For other methods, see: Find Name of the Active Directory Domain Controller.
Test Domain Membership (Trust Relationship)
netdom verify <Computer>
Ex: netdom verify MYPC
See also: Check Domain Trust Relationship
Related articles
Related content
Check Domain Trust Relationship
Check Domain Trust Relationship
More like this
How to use PortQry to test access to ports on the server
How to use PortQry to test access to ports on the server
More like this
LDAP Browser
LDAP Browser
More like this
How to join a domain across subnets
How to join a domain across subnets
More like this
Search and Replace in the Windows Registry
Search and Replace in the Windows Registry
More like this
How to Browse or Explore a Directory Server
How to Browse or Explore a Directory Server
More like this
© 2023 Foray, LLC - All Rights Reserved