DFSN Cmdlets in Windows PowerShell

Windows PowerShell® is a task-based command-line shell and scripting language designed especially for system administration. This reference topic for the information technology (IT) professional provides assistance in utilizing the Windows PowerShell cmdlets to script and automate tasks.

Distributed File System (DFS) Namespace Cmdlets

This reference provides cmdlet descriptions and syntax for all DFS Namespace cmdlets. It lists the cmdlets in alphabetical order based on the verb at the beginning of the cmdlet.

Cmdlet Description

Get-DfsnAccess

Gets permissions for a DFS namespace folder.

Get-DfsnFolder

Gets settings for a DFS namespace folder.

Get-DfsnFolderTarget

Gets settings for targets of a DFS namespace folder.

Get-DfsnRoot

Gets settings for DFS namespaces.

Get-DfsnRootTarget

Gets settings for root targets of a DFS namespace.

Get-DfsnServerConfiguration

Gets DFS namespace settings for a DFSN root server.

Grant-DfsnAccess

Grants permissions to users and groups to access a DFS namespace folder.

Move-DfsnFolder

Moves or renames a DFS namespace folder.

New-DfsnFolder

Creates a folder in a DFS namespace.

New-DfsnFolderTarget

Adds a target to a DFS namespace folder.

New-DfsnRoot

Creates a DFS namespace.

New-DfsnRootTarget

Adds a root target to a DFS namespace.

Remove-DfsnAccess

Removes users and groups from the ACL for a folder in a DFS namespace.

Remove-DfsnFolder

Removes a DFS namespace folder.

Remove-DfsnFolderTarget

Removes a target for a DFS namespace folder.

Remove-DfsnRoot

Removes a DFS namespace.

Remove-DfsnRootTarget

Removes a target for a DFS namespace root.

Revoke-DfsnAccess

Revokes permissions for users to access and enumerate the contents of a DFS namespace folder.

Set-DfsnFolder

Changes settings for a DFS namespace folder.

Set-DfsnFolderTarget

Changes settings for a target of a DFS namespace folder.

Set-DfsnRoot

Changes settings for a DFS namespace.

Set-DfsnRootTarget

Changes settings for a root target of a DFS namespace

Set-DfsnServerConfiguration

Changes settings for a DFS namespace root server.

备注

To list all the cmdlets that are available, use the Get-Command –Module DFSN cmdlet.

For more information about, or for the syntax of, any of the cmdlets, use the Get-Help <cmdlet name> cmdlet, where <cmdlet name> is the name of the cmdlet that you want to research. For more detailed information, you can run any of the following cmdlets:

Get-Help <cmdlet name> -Detailed
Get-Help <cmdlet name> -Examples
Get-Help <cmdlet name> -Full

More Information

For more information about the cmdlets, see the following: