Have you as an IT admin ever wanted to check the replication status of all your Active Directory Servers in 1 go instead of logging onto each one to check the status?

With a simple command from PowerShell, you can do so and you can see at a glance if any of the domain controllers have issues.

The command to run is as follows:

  • Repadmin /replsummary
Windows powershell:- check active directory replication with repadmin

As you can see in the screenshot, you have have your Source DSA and your Destination DSA.

The largest Delta column shows time of replication, if it is more than 1 hour with failures then you need to check it, if it is less than 1 hour with no failures then all is good.

You might come across 1 or 2 servers that give an RPC error, go and reboot those or investigate why you getting the error. The event logs will give you information.

Hope it helps.

Discover more from Everything-PowerShell

Subscribe now to keep reading and get access to the full archive.

Continue reading