I use DFS replication on Windows 2012 R2. I create a group with option "replication group for data collection". My Folder "X" on my server A "Master" is replicated to the folder "X" on my server B "Slave".
I would like create an another group with My Folder "X" on my server B is replicated to the folder "X" on my server A. This group was not active, there is only if I need change my server A and change the ways replication from A to B by from B to A. But it is refuse, because file X is used an another group.
So I think the best way is to change by PowerShell script and I would like get the replication group and change the server source and the server destination.
I found the command Get-DFSR...
and Set-DFSR...
, but I do not know how use them for makes that I would.