放置的邮箱上保留挂起Place a mailbox on retention hold

将邮箱放在保留挂起挂起处理保留策略或托管的文件夹邮箱策略的邮箱。保留挂起专为如用户暂时正在度假或离开的情况。Placing a mailbox on retention hold suspends the processing of a retention policy or managed folder mailbox policy for that mailbox. Retention hold is designed for situations such as a user being on vacation or away temporarily.

在保留挂起期间用户可以登录到其邮箱,更改或删除项目。在执行邮箱搜索时,不搜索结果中返回的过已删除的邮件保留期限已删除的项目。若要确保项更改或删除用户的合法保留方案中保持不变,必须将邮箱置于合法保留。有关详细信息,请参阅创建或删除就地保留During retention hold, users can log on to their mailbox and change or delete items. When you perform a mailbox search, deleted items that are past the deleted item retention period aren't returned in search results. To make sure items changed or deleted by users are preserved in legal hold scenarios, you must place a mailbox on legal hold. For more information, see Create or remove an In-Place Hold.

您还可以包括置于保留挂起的邮箱的保留批注。受支持版本的 Microsoft Outlook 中显示批注。You can also include retention comments for mailboxes you place on retention hold. The comments are displayed in supported versions of Microsoft Outlook.

有关与邮件记录管理 (IRM) 相关的其他管理任务,请参阅邮件记录管理程序For additional management tasks related to messaging records management (MRM), see Messaging Records Management Procedures.

在开始之前,您需要知道什么?What do you need to know before you begin?

  • 估计完成时间:1 分钟。Estimated time to complete: 1 minute.

  • 您需要执行此过程之前为其分配权限。若要查看所需的权限,请参阅Messaging Policy and Compliance Permissions主题中的"消息记录管理"条目。You need to be assigned permissions before you can perform this procedure or procedures. To see what permissions you need, see the "Messaging records management" entry in the Messaging Policy and Compliance Permissions topic.

  • 您无法使用 Exchange 管理中心 (EAC) 将邮箱置于保留挂起。您必须使用命令行管理程序。You can't use the Exchange Administration Center (EAC) to place a mailbox on retention hold. You must use the Shell.

  • 若要了解可能适用于此主题中过程的键盘快捷键,请参阅 Exchange 管理中心内的键盘快捷键For information about keyboard shortcuts that may apply to the procedures in this topic, see Keyboard shortcuts in the Exchange admin center.

提示

遇到问题了吗?请在 Exchange 论坛中寻求帮助。 请访问以下论坛:Exchange ServerExchange OnlineExchange Online ProtectionHaving problems? Ask for help in the Exchange forums. Visit the forums at Exchange Server,Exchange Online, or Exchange Online Protection.

您想执行什么操作?What do you want to do?

使用命令行管理程序将邮箱放在保留挂起中Use the Shell to place a mailbox on retention hold

本示例将 Michael Allen 的邮箱放在保留挂起中。This example places Michael Allen's mailbox on retention hold.

Set-Mailbox "Michael Allen" -RetentionHoldEnabled $true

有关语法和参数的详细信息,请参阅 Set-MailboxFor detailed syntax and parameter information, see Set-Mailbox.

使用命令行管理程序删除邮箱的保留挂起Use the Shell to remove retention hold for a mailbox

本示例从 Michael Allen 的邮箱中删除保留挂起。This example removes the retention hold from Michael Allen's mailbox.

Set-Mailbox "Michael Allen" -RetentionHoldEnabled $false

有关语法和参数的详细信息,请参阅 Set-MailboxFor detailed syntax and parameter information, see Set-Mailbox.

您如何知道这有效?How do you know this worked?

要验证您是否已成功将邮箱放在保留挂起中,请使用 Get-Mailbox cmdlet 检索邮箱的 RetentionHoldEnabled 属性。To verify that you have successfully placed a mailbox on retention hold, use the Get-Mailbox cmdlet to retrieve the RetentionHoldEnabled property of the mailbox.

此命令检索 Michael Allen 的邮箱的 RetentionHoldEnabled 属性。This command retrieves the RetentionHoldEnabled property for Michael Allen's mailbox.

Get-Mailbox "Michael Allen" | Select RetentionHoldEnabled

此命令检索 Exchange 组织中的所有邮箱,对放在保留挂起中的邮箱进行筛选,并将这些邮箱与应用于它们的保留策略一起列出。This command retrieves all mailboxes in the Exchange organization, filters the mailboxes that are placed on retention hold, and lists them along with the retention policy applied to each.

重要

因为_RetentionHoldEnabled_不是 Exchange 服务器中的可筛选属性,不能与筛选器邮箱置于保留挂起服务器端上的Get-mailbox cmdlet 中使用_Filter_参数。此命令将检索所有邮箱和客户端运行命令行管理程序会话上的筛选器列表。在与数千个邮箱的大型环境,此命令可能需要很长时间才能完成。Because RetentionHoldEnabled isn't a filterable property in Exchange Server, you can't use the Filter parameter with the Get-Mailbox cmdlet to filter mailboxes that are placed on retention hold on the server-side. This command retrieves a list of all mailboxes and filters on the client running the Shell session. In large environments with thousands of mailboxes, this command may take a long time to complete.

Get-Mailbox -ResultSize unlimited | Where-Object {$_.RetentionHoldEnabled -eq $true} | Format-Table Name,RetentionPolicy,RetentionHoldEnabled -Auto