Does anyone know of any way to manipulate a domain DFS root programmatically other than by shelling out to DFSCMD.EXE?
I am trying to create a script that will modify the targets of our DFS links, and the obvious way to do it is to add the new target and remove the old one, which is perfectly simple to do with DFSCMD.EXE, using the /ADD and /REMOVE switches.
However, I've noticed in the DFS MMC console that it's possible to enable and disable particular targets of a link, without necessarily removing them - and wondered if anyone knew of a scriptable way to do this, as it would be preferable for me if it can be done.
I'm having a hunt on MSDN for possible WMI/ADSI based methods for DFS manipulation, but any advice would be appreciated.
_________________________
================================================
Breaker