建立全域通訊清單Create a global address list

全域通訊清單 (GAL) 是包含的每個群組、 使用者及組織實作的 Microsoft Exchange 中的連絡人項目目錄。如果貴組織使用通訊錄原則,您可能會想要建立其他的 Gal。若要深入了解,請參閱通訊錄原則The global address list (GAL) is a directory that contains entries for every group, user, and contact within an organization's implementation of Microsoft Exchange. If your organization uses address book policies, you may want to create additional GALs. To learn more, see Address book policies.

如需與通訊清單相關的其他管理工作,請參閱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.

  • 您必須已獲指派權限,才能執行此程序或這些程序。若要查看您需要的權限,請參閱 Email 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 的預設,「通訊清單」角色並未指派給任何角色群組。若要使用任何需要「通訊清單」角色的指令程式,您需將此角色新增至角色群組。如需詳細資訊,請參閱<管理角色群組>主題的<將角色新增至角色群組>一節。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.

  • 您無法使用 Exchange 系統管理中心 (EAC) 執行此程序。您必須使用命令介面。You can't use the Exchange Administration Center (EAC) to perform this procedure. You must use the Shell.

  • 如需適用於此主題中程序的快速鍵相關資訊,請參閱 Keyboard shortcuts in Exchange 2013For 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?

利用命令介面來建立使用條件式篩選器屬性的 GALUse the Shell to create a GAL using conditional filter properties

此範例會針對公司列為 Contoso 且是信箱使用者的收件者,建立名為 GAL_Contoso 的 GAL。This example creates a GAL named GAL_Contoso that includes recipients who are mailbox users and have their company listed as Contoso.

New-GlobalAddressList -Name "GAL_Contoso" -IncludedRecipients MailboxUsers -ConditionalCompany Contoso

注意

若您使用預先定義的條件式篩選器屬性,則 IncludedRecipients 參數不能是空的。If you're using precanned conditional filter properties, the IncludedRecipients parameter can't be blank.

如需詳細的語法及參數資訊,請參閱 New-GlobalAddressListFor detailed syntax and parameter information, see New-GlobalAddressList.

利用命令介面來建立使用收件者篩選器的 GALUse the Shell create a GAL using a recipient filter

此範例會針對 CustomAttribute15 參數具有 AgencyA 值的收件者,建立名為 GAL_AgencyA 的 GAL。This example creates a GAL named GAL_AgencyA that includes recipients for which the CustomAttribute15 parameter has a value of AgencyA.

New-GlobalAddressList -Name "GAL_AgencyA" -RecipientFilter {CustomAttribute15 -like "AgencyA"}

如需詳細的語法及參數資訊,請參閱 New-GlobalAddressListFor detailed syntax and parameter information, see New-GlobalAddressList.