Exportar (0) Imprimir
Expandir Todos

Dfscmd

Actualizado: Abril de 2012

Aplica-se a: Windows Server 2008

Configures DFS folders and folder targets in a DFS namespace.

Dfscmd [options]

 

Parameter Description

/help

Display this message.

/map \\DFSname\DFSshare\path \\server\share\path [comment] [/restore]

Creates a DFS folder and assigns the specified shared folder as the folder target. When used with the /restore parameter, does not verify the existence of the shared folder. DFSDFS

/unmap \\DFSname\DFSshare\path

Delete a DFS folder and removes all of its folder targets.

/add \\DFSname\DFSshare\path \\server\share\path [/restore]

Adds a folder target to a DFS folder. When used with the /restore parameter, does not verify the existence of the shared folder.

/remove \\DFSname\DFSshare\path \\server\share\path

Removes a folder target from a DFS folder.

/view \\DFSname\DFSshare [/partial | /full | /batch || /batchrestore]

View all the DFS folders in the DFS namespace. Without arguments, view just the volume names.

Additional parameters:

  • /partial - view comment also.

  • /full - display a list of all the servers for a volume.

  • /batch - output a batch file to recreate the DFS.

  • /batchrestore - output a batch file to recreate the DFS using the /restore switch.

/move \\DFSname\DFSshare\path1 \\DFSname\DFSshare\path2 [/force]

Move a folder that is in the DFS to a different logical path. With /force, Replace links that exist if necessary

noteNota
Paths or comments with spaces should be enclosed in quotes.

Considera isto útil?
(1500 caracteres restantes)
Obrigado pelos seus comentários

Conteúdo da Comunidade

Mostrar:
© 2015 Microsoft