- Install DFS-Replication feature on key servers:
$Sb = {Add-WindowsFeature -Name FS-DFS-Replication ` -IncludeManagementTools } Invoke-Command -ScriptBlock $Sb ` -ComputerName DC1, DC2, FS1, FS2, SRV1, SRV2 | Format-Table -Property PSComputername, FeatureResult, Success
- Turn on administrative shares:
$Sb = { Set-SmbServerConfiguration ` -AutoShareServer $true ` -AutoShareWorkstation $true ` -Confirm:$false } Invoke-Command -ScriptBlock $Sb ` -ComputerName DC1, DC2, FS2, FS2, SRV1, SRV2
- View DFS cmdlets:
Get-Module -Name DFSR -ListAvailable Get-Command -Module DFSR | Measure-Object
- Create and display replication groups:
New-DfsReplicationGroup ` -GroupName FSShareRG ` -DomainName Reskit.Org ` -Description ...