You looking to monitor DFS-R replication, if you still use it, and do not want to rely on the GUI.......
This is the command
dfsrdiag backlog /rgname:"xxx" /smem:xxx /rfname:"xxxx"
So, using that command lets add some variables to this command, lets say:
Server A : server-a
Server B : server-b
Replication Group : Magical Unicorn
Replication Folders Name : Unicorns
To check server-a it would be : dfsrdiag backlog /rgname:"Magical Unicorns" /smem:server-a /rfname:"Unicorn"
To check server-b it would be dfsrdiag backlog /rgname:"Magical Unicorns" /smem:server-b /rfname:"Unicorn"
Simples.