Archive for the ‘Powershell’ Category

Active Directory quick queries via Powershell

Tuesday, October 6th, 2015

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:

Sites:

Subnets:

Site links:

Connection objects on <myDC>:

Replication queue on <myDC>:

Replication status on <myDC>:

Replication status in whole forest: