Scripting

A command-line program, Dfscmd.exe, can be used to modify the Dfs namespace with scripting commands. You can use Dfscmd.exe to do essentially anything you can do with the Dfs administrative tool except enable or disable FRS replication.

The syntax for Dfscmd is:

dfscmd [ options ]

Substitute /HELP for options to see the Help shown in Figure 17.5. For domain-based Dfs, \\ Dfsname \ Dfsshare means \\ Domain_name \ Domain_dfs_name . For stand-alone Dfs, \\ Dfsname \ Dfsshare means \\ Server_name \ Dfs_root .

Cc962132.DSDB07(en-us,TechNet.10).gif

Figure   17.5 Dfscmd Help