I'm wondering if there is a way to restore pre existing dfsr files based on the preserved time. The situation I have is there are some pre existing files at two separate dates. In my case 7/11 and 9/5. I only want to restore the files that were preserved on 9/5/2014. I know the basic functions of restoring based off this blog http://blogs.technet.com/b/filecab/archive/2013/08/23/dfs-replication-in-windows-server-2012-r2-restoring-conflicted-deleted-and-preexisting-files-with-windows-powershell.aspx .
Is there some sort of parameter I can use like,
Restore-DfsrPreservedFiles -Path "C:\RF01\DfsrPrivate\PreExistingManifest.xml" | where-object Preservedtime -like 9/5/2014 | –RestoreToOrigin
I'm new to all of this and really appreciate all the help I can get.
Thanks,
Josh
UPDATE 1: I'm testing the get-dfsrpreservedfiles command first. I've got this to work at getting only the files I want.
get-dfsrpreserveredfiles -path C:\mypath...\preexistingmanifest.xml | where-object preservedtime -ge "9/5/2014 8:00:00 AM"
That shows every file after that date and time. I'm going to see if I can add the where-object to the restore command and move the files to another location first. If anyone has tips and advice I'll be thankful.