To check Active directory the replication for multiple Domain Controllers
Normally repadmin /showreps command has been used to get the replication status for an particular Domain Controller, let say I want to check the Active directory the replication for multiple Domain Controllers, you can use the below command
for /f %a in (list.txt) do repadmin /replsummary %a
Note: You should run this command from where the input file (list.txt) there
And this command will check all the servers in the input file (list.txt)
If you want to check the Active directory replication for all the DC’s from a site, you can use the below command
repadmin /replsummary site:Site Name
If you want to check the replication with the wildcard character, that server name starts with MG, you can use the below command
repadmin /replsummary mg*