How to clear old Tomstoned files from DFS for Resync

Navigate to the Drive you have your DFS replicated folder on in powershell

 CD D:\

md d:\emptyfolder

Robocopy.exe d:\emptyfolder “D:\System Volume Information\dfsr\Private” /purge

rd d:\emptyfolder

Remove-Item  -Path .\DFRS\ -Recurse -Force -Verbose

Check Replication status

Get-WmiObject -Namespace “root\Microsoft\Windows\DFSR” -Class msft_dfsrreplicatedfolderinfo -ComputerName SERVERNAME| ft replicatedfoldername,state -auto -wrap

1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading...