How do I configure DFS replication using the command line?
- by zneak
Hello everyone,
I'm in the process of making a script to automate DFS creation and replication for an exam I have next week.
So, assuming I have a namespace:
dfsutil root adddom \\Foo\bar 'My namespace'
And I have a link:
dfsutil link add \\Foo\Bar\CoolStuff \\Server2\CoolStuff 'Neat stuff'
How can I use the command line to replicate \\Server2\CoolStuff over, say, \\Server3\CoolStuff? When I use dfscmd:
dfscmd /add \\Foo\Bar\CoolStuff \\Server3\CoolStuff
It says it ended correctly, but opening up the MMC shows that there are no replication groups for CoolStuff.
Thanks!