删除全局地址列表Remove a global address list

全局地址列表 (GAL) 是一个目录,包含 Exchange 组织中每个组、用户和联系人的条目。The global address list (GAL) is a directory that contains entries for every group, user, and contact within an Exchange organization.

有关地址列表的更多管理任务,请参阅Managing Address ListsFor additional management tasks related to address lists, see Managing Address Lists.

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

  • 估计完成每个步骤的时间:5 分钟。Estimated time to complete each procedure: 5 minutes.

  • 您需要执行此过程之前为其分配权限。若要查看所需的权限,请参阅Address and Address Book Permissions主题中的"地址列表"条目。You need to be assigned permissions before you can perform this procedure or procedures. To see what permissions you need, see the "Address lists" entry in the Email Address and Address Book Permissions topic.

  • 默认情况下,在 Exchange Online 中,地址列表角色不会分配给任何角色组。若要使用需要地址列表角色的任意 cmdlet,您需要向角色组添加此角色。有关详细信息,请参阅管理角色组主题中的"向角色组添加角色"部分。By default in Exchange Online, the Address List role isn't assigned to any role groups. To use any cmdlets that require the Address List role, you need to add the role to a role group. For more information, see the "Add a role to a role group" section in the topic, Manage role groups.

  • 不能删除默认 GAL。You can't remove the default GAL.

  • 您不能使用 Exchange 管理中心 (EAC) 执行此过程,必须使用命令行管理程序。You can't use the Exchange Administration Center (EAC) to perform this procedure. 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.

使用命令行管理程序删除 GALUse the Shell to remove a GAL

本示例从域控制器 ad-server.fourthcoffee.com 中删除名为 Fourth Coffee 的 GAL。This example removes the GAL Fourth Coffee from the domain controller ad-server.fourthcoffee.com.

Remove-GlobalAddressList -Identity "Fourth Coffee" -DomainController ad-server.fourthcoffee.com

要确认希望删除该 GAL,请键入 Y,然后按 Enter。To confirm that you want to remove the GAL, type Y, and then press ENTER.

有关语法和参数的详细信息,请参阅 Remove-GlobalAddressListFor detailed syntax and parameter information, see Remove-GlobalAddressList.