Windows PowerShell:- Check Active Directory Replication with Repadmin
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
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.