在 Exchange 2013 中创建和管理通讯组Create and manage distribution groups in Exchange 2013

适用于: Exchange Server 2013Applies to: Exchange Server 2013

使用 Exchange 管理中心 (EAC) 或 Exchange 命令行管理程序 在 Exchange 组织中创建新通讯组或在 Active Directory 中为现有组启用邮件。Use the Exchange admin center (EAC) or Exchange Management Shell to create a new distribution group in your Exchange organization or to mail-enable an existing group in Active Directory.

有两类组可用于分发邮件:There are two types of groups that can be used to distribute messages:

  • "已启用邮件的通用通讯组"(也称为"通讯组")仅用于分发邮件。Mail-enabled universal distribution groups (also called distribution groups) can be used only to distribute messages.

  • "已启用邮件的通用安全组"(也称为"安全组")可用于分发邮件,还可用于授予对 Active Directory 中资源的访问权限。有关详细信息,请参阅管理启用邮件的安全组Mail-enabled universal security groups (also called security groups) can be used to distribute messages as well as to grant access permissions to resources in Active Directory. For more information, see Manage mail-enabled security groups.

请务必注意 Active Directory 与 Exchange 之间的术语差异。在 Active Directory 中,通讯组是指任何不具有安全上下文的组,而无论它是否已启用邮件。与之相反,在 Exchange 中,所有的已启用邮件组都称为通讯组,而无论它们是否具有安全上下文。It's important to note the terminology differences between Active Directory and Exchange. In Active Directory, a distribution group refers to any group that doesn't have a security context, whether it's mail-enabled or not. In contrast, in Exchange, all mail-enabled groups are referred to as distribution groups, whether they have a security context or not.

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

  • 估计完成时间:2 至 5 分钟。Estimated time to complete: 2 to 5 minutes.

  • 您必须先获得权限,然后才能执行此过程或多个过程。若要查看所需的权限,请参阅 收件人权限主题中的"通讯组"条目。You need to be assigned permissions before you can perform this procedure or procedures. To see what permissions you need, see the "Distribution groups" entry in the Recipients Permissions topic.

  • 如果您的组织已配置了组命名策略,则只对用户创建的组应用组命名策略。If your organization has configured a group naming policy, it's applied only to groups created by users. 当您或其他管理员使用 EAC 创建通讯组时,组命名策略将被忽略,并且不会应用于组名称。When you or other administrators use the EAC to create distribution groups, the group naming policy is ignored and isn't applied to the group name. 但是,如果您使用命令行管理程序创建或重命名通讯组,则应用该策略,除非您使用 IgnoreNamingPolicy 参数覆盖组命名策略。However, if you use the Shell to create or rename a distribution group, the policy is applied unless you use the IgnoreNamingPolicy parameter to override the group naming policy. 有关详细信息,请参阅:For more information, see:

创建通讯组Create a distribution group

使用 EAC 创建通讯组Use the EAC to create a distribution group

  1. In the EAC, navigate to Recipients > Groups.In the EAC, navigate to Recipients > Groups.

  2. 单击 "新建  添加图标 > 通讯组"。Click New Add Icon > Distribution group.

  3. 单击或点击" 新建通讯组" 向导。Click or tap the New distribution group wizard.

  4. 在“新建通讯组”页上,填写下列框:On the New distribution group page, complete the following boxes:

    • * 显示名称:使用此框键入显示名称。* Display name: Use this box to type the display name. 此名称将出现在组织的通讯簿中、电子邮件中的"收件人:"行中(电子邮件发送到该组时),以及 EAC 的"组"列表中。This name appears in your organization's address book, on the To: line when email is sent to this group, and in the Groups list in the EAC. 显示名称是必需的,并且应当是用户友好的,以便用户可以识别它。The display name is required and should be user-friendly so people recognize what it is. 它在林中必须也是唯一的。It also must be unique in the forest.

    • * 别名:使用此框可以键入组的别名。* Alias: Use this box to type the name of the alias for the group. 别名不能超过 64 个字符,并且在林中必须是唯一的。The alias can't exceed 64 characters and must be unique in the forest. 当用户在电子邮件的"收件人:"行中键入别名时,它将解析为该组的显示名称。When a user types the alias in the To: line of an email message, it resolves to the group's display name.

    • 组织 单位: (您将仅在 Exchange 2013 内部部署) 中看到此选项。可以选择组织单位 (OU) 而不是默认的 (,即收件人作用域) 。Organizational unit: (You'll only see this option in Exchange 2013 on-premises) You can select an organizational unit (OU) other than the default (which is the recipient scope). 如果将收件人作用域设置为林,则默认值设置为 Active Directory 域中的"用户"容器,该域包含运行 EAC 的计算机。If the recipient scope is set to the forest, the default value is set to the Users container in the Active Directory domain that contains the computer on which the EAC is running. 如果将收件人作用域设置为特定域,则将默认选择该域中的"用户"容器。If the recipient scope is set to a specific domain, the Users container in that domain is selected by default. 如果将收件人范围设置为某个特定 OU,则默认情况下,将选择该 OU。If the recipient scope is set to a specific OU, that OU is selected by default.

      若要选择一个不同的 OU,请单击“浏览”。该对话框显示林中的指定作用域内的所有 OU。选择所需的 OU,然后单击“确定”。To select a different OU, click Browse. The dialog box displays all OUs in the forest that are within the specified scope. Select the OU you want, and then click OK.

    • * 所有者:默认情况下,创建组的人即为所有者。* Owners: By default, the person who creates a group is the owner. 所有组都必须至少有一个所有者。All groups must have at least one owner. 可以通过单击添加添加图标  添加所有者 You can add owners by clicking Add Add Icon.

    • 成员:使用此部分可以添加成员并指定是否需要对人员加入或离开组进行审批。Members: Use this section to add members and to specify whether approval is required for people to join or leave the group.

      组所有者不必是组的成员。使用“将组所有者添加为成员”可以将所有者添加为成员,或删除所有者的成员身份。Group owners don't have to be members of the group. Use Add group owners as members to add or remove the owners as members.

      若要向组添加成员,请单击" 添加  添加图标 "。To add members to the group, click Add Add Icon. 添加完成员后,单击 "确定" 返回到" 新建通讯组" 页。When you've finished adding members, click OK to return to the New distribution group page.

      在“选择是否需要所有者批准才能加入组”下,指定对于要加入组的人是否需要批准。选择下列设置之一:Under Choose whether owner approval is required to join the group, specify whether approval is required for people to join the group. Select one of the following settings:

      • 开放:任何人都可以加入此组,而无需获得 组所有者的批准:这是默认设置。Open: Anyone can join this group without being approved by the group owners: This is the default setting.

      • 关闭:只有组所有者才能添加成员。只有组的所有者才能添加成员Closed: Members can be added only by the group owners. All requests to join will be rejected automatically

      • 所有者审批:所有 请求都由组所有者手动批准或拒绝:如果选择此选项,组所有者将收到请求批准加入组的电子邮件。Owner Approval: All requests are manually approved or rejected by the group owners: If you select this option, the group owner or owners will receive an email message requesting approval to join the group.

      在“选择组是否允许自由离开”下,指定对于要离开组的人是否需要批准。选择下列设置之一:Under Choose whether the group is open to leave, specify whether approval is required for people to leave the group. Select one of the following settings:

      • 打开:任何人都可以离开此组,而无需获得 组所有者的批准:这是默认设置。Open: Anyone can leave this group without being approved by the group owners: This is the default setting.

      • 关闭:只有组所有者才能删除成员。将自动拒绝所有离开请求Closed: Members can be removed only by the group owners. All requests to leave will be rejected automatically

  5. 完成后,请单击“保存”创建通讯组。When you've finished, click Save to create the distribution group.

备注

默认情况下,新通讯组都要求对所有发件人进行身份验证。这样可防止外部发件人将邮件发送到通讯组。要将通讯组配置为接受来自所有收件人的邮件,您必须修改该通讯组的邮件传递限制设置。By default, new distribution groups require that all senders be authenticated. This prevents external senders from sending messages to distribution groups. To configure a distribution group to accept messages from all senders, you must modify the message delivery restriction settings for that distribution group.

使用命令行管理程序创建通讯组Use the Shell to create a distribution group

该示例创建具有别名 itadmin 和名称 IT Administrators 的通信组。通讯组在默认 OU 中创建,任何人都可以不经组拥有者批准加入该组。This example creates a distribution group with an alias itadmin and the name IT Administrators. The distribution group is created in the default OU, and anyone can join this group without approval by the group owners.

New-DistributionGroup -Name "IT Administrators" -Alias itadmin -MemberJoinRestriction open

有关使用命令行管理程序的详细信息,请参阅New-DistributionGroupFor more information about using the Shell to create distribution groups, see New-DistributionGroup.

如何判断是否生效?How do you know this worked?

要检查是否成功创建了通讯组,可进行以下操作之一:To verify that you've successfully created a distribution group, do one of the following:

  • In the EAC, navigate to Recipients > Groups.In the EAC, navigate to Recipients > Groups. 新通讯组显示在组列表中。The new distribution group is displayed in the group list. 在“组类型”下,该类型是“通讯组”。Under Group Type, the type is Distribution group.

  • 在命令行管理程序中运行以下命令来显示有关新通讯组的信息。In the Shell, run the following command to display information about the new distribution group.

    Get-DistributionGroup <Name> | Format-List Name,RecipientTypeDetails,PrimarySmtpAddress
    

备注

只能创建通用通讯组或对其启用邮件。若要将本地域或全局组转换为通用组,可以使用命令行管理程序中的 Set-Group cmdlet。可以具有从早期版本的 Exchange 中迁移来的、并非通用组的启用邮件组。可以使用 EAC 或命令行管理程序管理这些组You can create or mail-enable only universal distribution groups. To convert a domain-local or a global group to a universal group, you can use the Set-Group cmdlet using the Shell. You may have mail-enabled groups that were migrated from previous versions of Exchange that are not universal groups. You can use the EAC or the Shell to manage these groups

更改通讯组属性Change distribution group properties

使用 EAC 更改通讯组属性Use the EAC to change distribution group properties

  1. In the EAC, navigate to Recipients > Groups.In the EAC, navigate to Recipients > Groups.

  2. 在组列表中,单击要查看或更改的通讯组,然后单击"编辑 编辑  "图标 In the list of groups, click the distribution group that you want to view or change, and then click Edit Edit icon.

  3. 在组属性页面上,单击以下部分之一来查看或更改属性。On the group properties page, click one of the following sections to view or change properties.

常规General

使用此部分可以查看或更改有关组的基本信息。Use this section to view or change basic information about the group.

  • * 显示名称:此名称显示在通讯簿中、电子邮件发送到该组时"To:"行上以及"组"列表中。* Display name: This name appears in the address book, on the To: line when email is sent to this group, and in the Groups list. 显示名称是必需的,并且应当是用户友好的,以便用户可以识别它。The display name is required and should be user-friendly so people recognize what it is. 显示名称在域中还必须是唯一的。It also has to be unique in your domain.

    如果您已实现了一个组命名策略,则显示名称必须符合此策略定义的命名格式。If you've implemented a group naming policy, the display name has to conform to the naming format defined by the policy.

  • * 别名:这是电子邮件地址中出现在 @ (@) 符号左侧的部分。* Alias: This is the portion of the email address that appears to the left of the at (@) symbol. 如果更改别名,组的主 SMTP 地址也会更改,并包含新的别名。If you change the alias, the primary SMTP address for the group will also be changed, and contain the new alias. 同时,带有之前别名的电子邮件地址将作为该组的代理地址保留。Also, the email address with the previous alias will be kept as a proxy address for the group.

  • 说明:使用此框来描述组,以便人们了解组的用途。Description: Use this box to describe the group so people know what the purpose of the group is. 此说明出现在通讯簿和 EAC 的"详细信息"窗格中。This description appears in the address book and in the Details pane in the EAC.

  • 在地址列表中隐藏 此组:如果不希望用户在通讯簿中看到此组,请选中此复选框。Hide this group from address lists: Select this check box if you don't want users to see this group in the address book. 若要将电子邮件发送到该组,发件人必须在"收件人:"或"抄送:"行上键入组的别名或电子邮件地址。To send email to this group, a sender has to type the group's alias or email address on the To: or Cc: lines.

    提示

    应考虑隐藏安全组,原因是这些组通常用于向组成员分配权限,而不是用于发送电子邮件。Consider hiding security groups because they're typically used to assign permissions to group members and not to send email.

  • 组织单位:此只读框显示包含通讯组 (OU) 的组织单位。Organizational unit: This read-only box displays the organizational unit (OU) that contains the distribution group. 必须使用 Active Directory 用户和计算机,才能将组移到其他 OU 中。You have to use Active Directory Users and Computers to move the group to a different OU.

OwnershipOwnership

使用此部分可以分配组所有者。组所有者可以向此组中添加成员、批准或拒绝加入或退出此组的请求以及批准或拒绝发送给此组的邮件。默认情况下,创建组的人即为所有者。所有组都必须至少有一个所有者。Use this section to assign group owners. The group owner can add members to the group, approve or reject requests to join or leave the group, and approve or reject messages sent to the group. By default, the person who creates a group is the owner. All groups must have at least one owner.

可以通过单击添加添加图标  添加所有者 You can add owners by clicking Add Add Icon. 可以通过选择所有者,然后单击"删除""删除"图标  删除所有者 You can remove an owner by selecting the owner and then clicking Remove Remove icon.

成员身份Membership

使用此部分可以添加或删除成员。Use this section to add or remove members. 组所有者不必是组的成员。Group owners don't have to be members of the group. "成员"下,可以通过单击"添加 添加图标"来  添加成员 Under Members, you can add members by clicking Add Add Icon. 您可以通过在成员列表中选择用户,然后单击删除删除图标  删除成员 You can remove a member by selecting a user in the member list and then clicking Remove Remove icon.

成员身份审批Membership approval

使用此部分可以指定是否需要对用户加入或离开该组进行审批。Use this section to specify whether approval is required for users to join or leave the group.

  • 选择是否需要所有者批准才能加入组 选择下列设置之一:Choose whether owner approval is required to join the group Select one of the following settings:

    • “开放:任何人都可以加入此组,而无需经组的所有者批准”Open: Anyone can join this group without being approved by the group owners

    • 关闭:只有组所有者才能添加成员。只有组的所有者才能添加成员Closed: Members can be added only by the group owners. All requests to join will be rejected automatically

    • 所有者审批:所有 请求都由组所有者批准或拒绝:如果选择此选项,组所有者将收到请求批准加入组的电子邮件。Owner Approval: All requests are approved or rejected by the group owners: If you select this option, the group owner or owners receive an email requesting approval to join the group.

    • 选择组是否打开以离开 选择下列设置之一:Choose whether the group is open to leave Select one of the following settings:

      • "开放:任何人都可以离开此组,而无需经组的所有者批准"Open: Anyone can leave this group without being approved by the group owners

      • 关闭:只有组所有者才能删除成员。将自动拒绝所有离开请求Closed: Members can be removed only by the group owners. All requests to leave will be rejected automatically

传递管理Delivery management

使用此部分可以管理谁将电子邮件发送到该组。Use this section to manage who can send email to this group.

  • 仅组织内部的发件人:选择此选项可仅允许您组织的发件人向该组发送邮件。Only senders inside my organization: Select this option to allow only senders in your organization to send messages to the group. 这意味着如果组织外部的某个人向此组发送电子邮件,邮件将被拒绝。This means that if someone outside of your organization sends an email message to this group, it will be rejected. 这是默认设置。This is the default setting.

  • 我的组织内外的发件人:选择此选项可允许任何人向该组发送邮件。Senders inside and outside of my organization: Select this option to allow anyone to send messages to the group.

    您可以通过仅允许特定发件人向此组发送邮件,来进一步限制可以将邮件发送到此组的发件人。You can further limit who can send messages to the group by allowing only specific senders to send messages to this group. 单击 "添加  添加图标 ",然后选择一个或多个收件人。Click Add Add Icon and then select one or more recipients. 向此列表中添加发件人后,这些发件人将是唯一能够向此组发送邮件的人员。If you add senders to this list, they are the only ones who can send mail to the group. 不在此列表中的任何人发送的邮件都将被拒绝。Mail sent by anyone not in the list will be rejected.

    若要从列表中删除人员或组,请在列表中选择他们,然后单击删除 删除  图标 To remove a person or a group from the list, select them in the list and then click Remove Remove icon.

    重要

    如果您已将此组配置为只允许组织内部的发件人向此组发送邮件,则从邮件联系人发送的电子邮件将被拒绝,即使这些联系人已添加到此列表中也是如此。If you've configured the group to allow only senders inside your organization to send messages to the group, email sent from a mail contact will be rejected, even if they are added to this list.

邮件审批Message approval

使用此部分可以设置用于仲裁组的选项。审阅人可以在发送到此组的邮件到达组成员之前批准或拒绝邮件。Use this section to set options for moderating the group. Moderators approve or reject messages sent to the group before they reach the group members.

  • 发送到此组的邮件 必须经过审查方的批准:默认情况下不选中此复选框。Messages sent to this group have to be approved by a moderator: This check box isn't selected by default. 如果选中此复选框,则在传递传入邮件之前将由组审阅人检查邮件。If you select this check box, incoming messages are reviewed by the group moderators before delivery. 组审阅人可以批准或拒绝传入邮件。Group moderators can approve or reject incoming messages.

  • 组审查方:若要添加组审查方,请单击" 添加添加  图标 "。Group moderators: To add group moderators, click Add Add Icon. 若要删除审查方,请选择审查方,然后单击" 删除删除图标  "。To remove a moderator, select the moderator, and then click Remove Remove icon. 如果已经选中"发送到此组的邮件必须由审阅人批准",但未选择审阅人,则发送到此组的邮件将会发送到组所有者进行审批。If you've selected "Messages sent to this group have to be approved by a moderator" and you don't select a moderator, messages to the group are sent to the group owners for approval.

  • 不需要邮件审批的 发件人:若要添加可以绕过此组的审核的一个或多个组,请单击" 添加添加  图标 "。Senders who don't require message approval: To add people or groups that can bypass moderation for this group, click Add Add Icon. 若要删除人员或组,请选择该项目,然后单击"删除 删除图标  "。To remove a person or a group, select the item, and then click Remove Remove icon.

  • 选择"审核通知": 使用此部分可设置如何通知用户有关邮件审批的信息。Select moderation notifications: Use this section to set how users are notified about message approval.

    • 当发件人的邮件未 获得批准时通知所有发件人:这是默认设置。Notify all senders when their messages aren't approved: This is the default setting. 当组织内部和外部发件人的邮件未得到批准时,通知所有发件人。Notify all senders, inside and outside your organization, when their message isn't approved.

    • 发件人 的邮件未获得批准时通知你的组织的发件人:选择此选项时,当发送到组的邮件未经过审查方批准时,只会通知你组织中的人员或组。Notify senders in your organization when their messages aren't approved: When you select this option, only people or groups in your organization are notified when a message that they sent to the group isn't approved by a moderator.

    • 未批准邮件 时不通知任何人:选择此选项时,不会向组审查方未批准其邮件的邮件发件人发送通知。Don't notify anyone when a message isn't approved: When you select this option, notifications aren't sent to message senders whose messages aren't approved by the group moderators.

电子邮件选项Email options

使用此部分可以查看或更改与该组关联的电子邮件地址。Use this section to view or change the email addresses associated with the group. 这包括组的主 SMTP 地址和任何关联的代理地址。This includes the group's primary SMTP addresses and any associated proxy addresses. 主 SMTP 地址 (也称为答复地址) 地址列表中以粗体显示,大写的 SMTP 值显示在 " 类型"列中。The primary SMTP address (also known as the reply address) is displayed in bold text in the address list, with the uppercase SMTP value in the Type column.

  • 添加:单击 "添加  添加图标 ",为此邮箱添加新的电子邮件地址。Add: Click Add Add Icon to add a new email address for this mailbox. 选择以下地址类型之一:Select one of following address types:

    • "SMTP" 这是默认的地址类型。SMTP: This is the default address type. 单击此按钮,然后在"电子邮件地址"框中键入 * 新的 SMTP 地址。Click this button and then type the new SMTP address in the * Email address box.

      备注

      若要将新地址设为相应组的主 SMTP 地址,请选中“将此设为答复地址”复选框。To make the new address the primary SMTP address for the group, select the Make this the reply address check box.

    • 自定义地址类型:单击此按钮,在"电子邮件地址"框中键入其中一个受支持的非 SMTP * 电子邮件地址 类型。Custom address type: Click this button and type one of the supported non-SMTP email address types in the * Email address box.

      备注

      除 X.400 地址以外,Exchange 不验证自定义地址的格式是否正确。您必须确保所指定的自定义地址符合该地址类型的格式要求。With the exception of X.400 addresses, Exchange doesn't validate custom addresses for correct formatting. You must make sure that the custom address you specify complies with the format requirements for that address type.

  • 编辑:若要更改与组关联的电子邮件地址,请在列表中选择该地址,然后单击"编辑 编辑  "图标 Edit: To change an email address associated with the group, select it in the list, and then click Edit Edit icon.

    备注

    若要将现有地址设为相应组的主 SMTP 地址,请选中“将此设为答复地址”复选框。To make an existing address the primary SMTP address for the group, select the Make this the reply address check box.

  • 删除:若要删除与组关联的电子邮件地址,请在列表中选择该地址,然后单击"删除 ""删除  "图标 Remove: To delete an email address associated with the group, select it in the list, and then click Remove Remove icon.

  • “基于应用到此收件人的电子邮件地址策略自动更新电子邮件地址”:选中此复选框可基于对组织中电子邮件地址策略所做的更改自动更新收件人的电子邮件地址。Automatically update email addresses based on the email address policy applied to this recipient: Select this check box to have the recipient's email addresses automatically updated based on changes made to email address policies in your organization. 此框在默认情况下处于选中状态。This box is selected by default.

邮件提示MailTip

使用此部分可以添加邮件提示,以便在用户向该组发送邮件时提醒用户存在潜在的问题。邮件提示是在将该组添加到新电子邮件的"收件人"、"抄送"或"密件抄送"行时,信息栏中显示的文本。例如,对于较大的组,可添加邮件提示来提醒潜在的发送人:他们的邮件将会发送给很多人。Use this section to add a MailTip to alert users of potential issues if they send a message to this group. A MailTip is text that's displayed in the InfoBar when this group is added to the To, Cc, or Bcc lines of a new email message. For example, you could add a MailTip to large groups to warn potential senders that their message will be sent to lots of people.

备注

邮件提示可包含 HTML 标记,但不允许包含脚本。自定义邮件提示的长度不能超过 175 个显示的字符。此字符限制不计入 HTML 标记。MailTips can include HTML tags, but scripts aren't allowed. The length of a custom MailTip can't exceed 175 displayed characters. HTML tags aren't counted in the limit.

组代理Group delegation

使用此部分可以向用户分配权限(称为"代理"),允许他们以组身份发送邮件或代表组发送邮件。可以分配以下权限:Use this section to assign permissions to a user (called a delegate) to allow them to send messages as the group or send messages on behalf of the group. You can assign the following permissions:

  • 代理 发送:此权限允许代理作为组发送邮件。Send As: This permission allows the delegate to send messages as the group. 分配此权限后,代理可选择将组添加到 " 收件人"行以指示邮件由组发送。After this permission is assigned, the delegate has the option to add the group to the From line to indicate that the message was sent by the group.

  • 代表发送:此权限还允许代理代表组发送邮件。Send on Behalf: This permission also allows a delegate to send messages on behalf of the group. 分配此权限后,代理可选择在"开始"行 中添加组。After this permission is assigned, the delegate has the option to add the group in the From line. 邮件将显示为由组发送,并将说明该邮件由代理代表组发送。The message will appear to be sent by the group and will say that it was sent by the delegate on behalf of the group.

若要向代理分配权限,请单击相应权限下的"添加"以显示"选择收件人"页,其中显示 Exchange 组织中可分配该权限的所有收件人的列表。To assign permissions to delegates, click Add under the appropriate permission to display the Select Recipient page, which displays a list of all recipients in your Exchange organization that can be assigned the permission. 选择所需的收件人,将其添加到列表中,然后单击“确定”。Select the recipients you want, add them to the list, and then click OK. 您还可以搜索特定的收件人,方法是在搜索框中键入收件人的姓名,然后单击"搜索 "。You can also search for a specific recipient by typing the recipient's name in the search box and then clicking Search.

使用命令行管理程序更改通讯组属性Use the Shell to change distribution group properties

使用 Get-DistributionGroupSet-DistributionGroup cmdlet 查看和更改通讯组的属性。Use the Get-DistributionGroup and Set-DistributionGroup cmdlets to view and change properties for distribution groups. 使用命令行管理程序的优点是能够更改在 EAC 中不可用的属性以及更改多个组的属性。Advantages of using the Shell are the ability to change the properties that aren't available in the EAC and to change properties for multiple groups. 有关什么参数对应通讯组属性的信息,请参阅下列主题:For information about which parameters correspond to distribution group properties, see the following topics:

这里是一些使用命令行管理程序更改通讯组属性的示例。Here are some examples of using the Shell to change distribution group properties.

该示例将西雅图员工通讯组的主要 SMTP 地址(也称为回复地址)从 employees@contoso.com 更改为 sea.employees@contoso.com。此外,之前的回复地址将保留为代理地址。This example changes the primary SMTP address (also called the reply address) for the Seattle Employees distribution group from employees@contoso.com to sea.employees@contoso.com. Also, the previous reply address will be kept as a proxy address.

Set-DistributionGroup "Seattle Employees" -EmailAddresses SMTP:sea.employees@contoso.com,smtp:employees@contoso.com

该示例将可以发送给组织内所有通讯组的最大邮件大小限制为 10 MB。This example limits the maximum message size that can be sent to all distribution groups in the organization to 10 megabytes (MB).

Get-DistributionGroup -ResultSize unlimited -Filter "RecipientTypeDetails -eq 'MailUniversalDistributionGroup'" | Set-DistributionGroup -MaxReceiveSize 10MB

以下示例启用对通讯组 Customer Support 的裁决,并将审查方设置为 Amy。此外,如果从组织内部发送邮件的发件人的邮件未获批准,这一经过裁决的通讯组还会通知发件人。This example enables moderation for the distribution group Customer Support and sets the moderator to Amy. In addition, this moderated distribution group will notify senders who send mail from within the organization if their messages aren't approved.

Set-DistributionGroup -Identity "Customer Support" -ModeratedBy "Amy" -ModerationEnabled $true -SendModerationNotifications 'Internal'

以下示例将用户创建的通讯组 Dog Lovers 更改为需要组管理者批准用户加入组的请求。This example changes the user-created distribution group Dog Lovers to require the group manager to approve users' requests to join the group. 此外,通过 BypassSecurityGroupManagerCheck 参数,将不会通知组管理者已对该通讯组设置进行了更改。In addition, by using the BypassSecurityGroupManagerCheck parameter, the group manager will not be notified that a change was made to the distribution group's settings.

Set-DistributionGroup -Identity "Dog Lovers" -MemberJoinRestriction 'ApprovalRequired' -BypassSecurityGroupManagerCheck

如何判断是否生效?How do you know this worked?

要检查是否成功更改了通讯组的属性,可进行以下操作之一:To verify that you've successfully changed properties for a distribution group, do the following:

  • 在 EAC 中,选择组,然后单击"编辑  编辑"图标 以查看您更改的属性或功能。In the EAC, select the group and then click Edit Edit icon to view the property or feature that you changed. 根据所更改的属性,它可能显示在选定组的"详细信息"窗格中。Depending on the property that you changed, it might be displayed in the Details pane for the selected group.

  • 在命令行管理程序中,使用 Get-DistributionGroup cmdlet 验证更改。In the Shell, use the Get-DistributionGroup cmdlet to verify the changes. 使用命令行管理程序的一个优点是可查看多个组的多个属性。One advantage of using the Shell is that you can view multiple properties for multiple groups. 在上面收件人限制有所更改的示例中,运行以下命令来验证新值。In the example above where the recipient limit was changed, run the following command to verify the new value.

    Get-Mailbox -ResultSize unlimited -Filter "RecipientTypeDetails -eq 'UserMailbox'" | Format-List Name,RecipientLimits
    

    对于上面更改邮件限制的示例,请运行此命令。For the example above where the message limits were changed, run this command.

    Get-Mailbox -OrganizationalUnit "Marketing" | Format-List Name,IssueWarningQuota,ProhibitSendQuota,ProhibitSendReceiveQuota,UseDatabaseQuotaDefaults