ASKER
ASKER
Can you confirm if these domains belong to the same forest? I wonder if they are domains that belong to a different forest and they are listed there as part of a domain trust.
ASKER
Trust topology information obtained from the computer AdminLaptop007 in the domain MyDomain.com on 04/19/2017 12:09:26.
This text file contains information on all trusts: Forest, External, Shortcut and ParentChild.
There are 2 forest trusts.
There are 0 internal (intra forest) trusts.
There are 0 external trusts.
**********************************************************************************************
Active Directory Trusts for Trusts of Type internal
*********************************
Active Directory Trusts for Trusts of Type forest
*********************************
Trust Name : Trust Details for MyDomain.com|UnityNetwork.int
Local Domain (Source) : MyDomain.com
Trusted Domain (Target) : UnityNetwork.int
Trust Direction : Bidirectional
Trust Type : Forest
Trusted Domain Info: UnityNetwork : DNSName UnityNetwork.int | Domain SID: S-1-5-21-1907921415-2437651183-2526027976
Trust TopLevelNames (Name Suffix Routing) : {UnityNetwork.int}
Trust Excluded TopLevelNames(Name Suffix Routing) : None Defined
Quarantine (SIDFiltering) : True
Selective Authentication : False
Trust Name : Trust Details for MyDomain.com|MyPaymentSolution.com
Local Domain (Source) : MyDomain.com
Trusted Domain (Target) : MyPaymentSolution.com
Trust Direction : Bidirectional
Trust Type : Forest
Trusted Domain Info: MyPaymentSolution : DNSName MyPaymentSolution.com | Domain SID: S-1-5-21-2000478354-1060284298-839522115
Trust TopLevelNames (Name Suffix Routing) : {MyPaymentSolution.com}
Trust Excluded TopLevelNames(Name Suffix Routing) : None Defined
Quarantine (SIDFiltering) : True
Selective Authentication : False
Active Directory Trusts for Trusts of Type external
*********************************
ASKER
ASKER
Active Directory (AD) is a Microsoft brand for identity-related capabilities. In the on-premises world, Windows Server AD provides a set of identity capabilities and services, and is hugely popular (88% of Fortune 1000 and 95% of enterprises use AD). This topic includes all things Active Directory including DNS, Group Policy, DFS, troubleshooting, ADFS, and all other topics under the Microsoft AD and identity umbrella.
TRUSTED BY
One very simple way to get the amount of domains within a single forest is using the command:
(Get-ADForest).Domains
This command will give you the list of domains
And with a slight change you can get the amount in numbers
((Get-ADForest).Domains).C
These commands are assuming that you are using PowerShell with the active directory module installed. i.e. From a DC or a domain member computer with the consoles installed.