Applies to: Exchange Server 2007
Topic Last Modified: 2007-06-05

Use the Enable-DistributionGroup command to mail-enable an existing universal group.

Syntax

enable-DistributionGroup -Identity <GroupIdParameter> [-Alias <String>] [-DisplayName <String>] [-DomainController <Fqdn>]

Parameters

Parameter Required Type Description

Identity

Required

Microsoft.Exchange.Configuration.Tasks.GroupIdParameter

The Identity parameter specifies the identity of the distribution group in one of the following forms:

  • GUID

  • DN

  • Domain\Account Name

Alias

Optional

System.String

The Alias parameter specifies the e-mail alias of the group.

DisplayName

Optional

System.String

The DisplayName parameter specifies the display name of the distribution group. A display name is typically the same as the Domain\Account Name.

DomainController

Optional

Microsoft.Exchange.Data.Fqdn

To specify the fully qualified domain name (FQDN) of the domain controller that writes this configuration change to Active Directory, include the DomainController parameter in the command.

Detailed Description

Members of a universal group can include other groups and accounts from any domain in the domain tree or forest and can be granted permissions in any domain in the domain tree or forest. To mail-enable an existing universal group in the Active Directory directory service, you can use the Enable-DistributionGroup cmdlet.

To run the Enable-DistributionGroup cmdlet, the account you use must be delegated the following:

  • Exchange Recipient Administrator role

For more information about permissions, delegating roles, and the rights that are required to administer Exchange Server 2007, see Permission Considerations.

Input Types

Return Types

Errors

Error Description

 

 

Exceptions

Exceptions Description

 

 

Example

The following code is an example of the Enable-DistributionGroup command.

Copy Code
Enable-DistributionGroup -Identity "Distribution Group1"