无法从Powershell设置DFS-R RemoveDeletedFiles属性

无法从Powershell设置DFS-R RemoveDeletedFiles属性,powershell,microsoft-distributed-file-system,powershell-4.0,Powershell,Microsoft Distributed File System,Powershell 4.0,使用Windows Server 2012 R2中包含的Powershell v4.0,我可以设置DFS-R,但有一个细节除外。我无法使RemoveDeletedFiles属性变为True。cmdlet未报告任何错误或警告,但似乎没有任何效果。目前我将设置保留为False,但是由于文件是通过构建生成的,我们将永远不会恢复它们。DFS-R将这些文件移动到ConflictAndDeleted目录似乎是一种浪费 设置DfsrMembership-GroupName$GroupName-RemoveDe

使用Windows Server 2012 R2中包含的Powershell v4.0,我可以设置DFS-R,但有一个细节除外。我无法使RemoveDeletedFiles属性变为True。cmdlet未报告任何错误或警告,但似乎没有任何效果。目前我将设置保留为False,但是由于文件是通过构建生成的,我们将永远不会恢复它们。DFS-R将这些文件移动到ConflictAndDeleted目录似乎是一种浪费

设置DfsrMembership-GroupName$GroupName-RemoveDeletedFiles$true-FolderName$FolderName-ComputerName$ComputerName

群组名称:XXX 计算机名称:xxxyy FolderName:文件夹 GroupDomainName:name.tlc ComputerDomainName:name.tlc 标识符:zzz 区分名称:CN=zzz,CN=yyy,CN=DFSR LocalSettings,CN=xxxyy,OU=ourOU,DC=name,DC=tlc ContentPath:C:\文件夹 主要成员:是的 StagingPath:C:\Folder\DfsrPrivate\Staging StagingPathQuotaInMB:4096 最小文件标记大小:大小256KB ConflictAndDeletedPath:C:\Folder\DfsrPrivate\ConflictAndDeleted ConflictAndDeletedQuotaInMB:4096 只读:False RemoveDeletedFiles:False 已启用:True DfsnPath: 状态:正常

任何指导都将不胜感激。提前谢谢