Active Directory quick queries via Powershell

Here is reference to a few quick AD queries via Powershell’s “one command”.

Forest basic info:

Domains’ basic info from entire forest:

List of Domain Controllers:

DCs numbers per domains in whole forest:



Site links:

Connection objects on <myDC>:

Replication queue on <myDC>:

Replication status on <myDC>:

Replication status in whole forest:

Leave a Reply