- Install DFS Namespace, DFS Replication, and the related management tools:
Install-WindowsFeature -Name FS-DFS-Namespace ` -IncludeManagementTools ` -ComputerName Srv1 Install-WindowsFeature -Name FS-DFS-Namespace ` -IncludeManagementTools ` -ComputerName Srv2
- View the DFSN module and the DFSN cmdlets:
Get-Module -Name DFSN -ListAvailable Get-Command -Module DFSN | Measure-Object
- Create folders and shares for DFS Root:
$Sb = { New-Item -Path E:\ShareData -ItemType Directory ` -Force | Out-Null New-SmbShare -Name ShareData -Path E:\ShareData ` -FullAccess Everyone } Invoke-Command -ComputerName Srv1, Srv2 ` -ScriptBlock $Sb
- Create DFS Namespace Root pointing to ShareData:
New-DfsnRoot -Path \\Reskit.Org\ShareData ...