配置全局地址列表属性Configure global address list properties

本主题介绍如何修改全局地址列表 (GAL) 的设置。This topic explains how to modify the settings of a global address list (GAL).

在开始之前,您需要知道什么?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 edit the settings of 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 Protection论坛。Having problems? Ask for help in the Exchange forums. Visit the forums at Exchange Server,Exchange Online, or Exchange Online Protection.

使用命令行管理程序配置 GAL 属性Use the Shell to configure GAL properties

本示例将新名称 FourthCoffee 分配给 GUID 为 96d0c505-eba8-4103-ad4f-577a1bf4ad7b 的 GAL。This example assigns a new name, FourthCoffee, to the GAL that has the GUID 96d0c505-eba8-4103-ad4f-577a1bf4ad7b.

Set-GlobalAddressList -Identity 96d0c505-eba8-4103-ad4f-577a1bf4ad7b -Name FourthCoffee

备注

如果您正在使用固有条件筛选属性, IncludedRecipients_参数的值不能为空。If you're using precanned conditional filter properties, the value for the _IncludedRecipients parameter can't be blank.

本示例将 Fourth Coffee 全局 GAL 中包含的收件人更改为所属公司设为 Fourth Coffee 的收件人。This example changes the recipients who will be included in the Fourth Coffee global GAL to those whose company is set to Fourth Coffee.

Set-GlobalAddressList -Identity Fourth Coffee -RecipientFilter {Company -eq "Fourth Coffee"}

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