CMD: echo %userdomain%
Powershell: gci env:userdomain
From an elevated prompt (cmd or powershell)
nltest /parentdomain
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.
netdom verify <Computer>
Ex: netdom verify MYPC
See also: Check Domain Trust Relationship
The content by label feature displays related articles automatically, based on labels you choose. To edit options for this feature, select the placeholder below and tap the pencil icon.
|