Distributed File System

Previous Topic Next Topic

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.

Image
Enlarge figure

Figure 17.5 Dfscmd Help

© 1985-2000 Microsoft Corporation. All rights reserved.