Exchange保留策略不能手动运行

我试图testing365天后删除已删除项目中的项目的Exchange 2010保留策略。 Exchange已完全修补。

当我运行Start-ManagedFolderAssistant -Identity “Administrator”它成功运行。 如果我运行Start-ManagedFolderAssistant对整个服务器运行这个,我被提示input服务器名称,然后得到下面的错误。 使用-Identity开关会发生同样的错误。

 The operation couldn't be performed because object 'FQDN Of Exchange' couldn't be found on FQDN Of One of our DC's'. + CategoryInfo : NotSpecified: (0:Int32) [Start-ManagedFolderAssistant], ManagementObjectNotFoundExceptio n + FullyQualifiedErrorId : 9FFD81F9,Microsoft.Exchange.Management.SystemConfigurationTasks.StartElcAssistant 

我已经检查过DC服务器中是否有条目。

DNS日志中没有错误。 我也强迫域名中的AD Replciation和DNS Replcation。 我也等了几个小时,所以域控制器也会自然复制。

为什么发生这种情况?

原因是Start-ManagedFolderAssistant cmdlet上的必需参数Identity需要邮箱标识作为input。

如果您希望它处理给定邮箱服务器上的所有邮箱,可以这样做:

 $allMailboxes = Get-MailboxServer -Identity "mailboxserver.domain.tld" | Get-Mailbox -ResultSize unlimited $allMailboxes | Start-ManagedFolderAssistant