How to Check Your Active Directory Counts

When investigating an existing domain for a potential upgrade or clean-up, it’s necessary to gauge the number of Active Directory (AD) objects in order to decide how many domain controllers are needed. This is also just useful information to occasion

PS C:\Windows\system32> (Get-ADUser -Filter *).Count

PS C:\Windows\system32> (Get-ADGroup -Filter *).Count

PS C:\Windows\system32> (Get-ADComputer -Filter *).Count