New-GlobalAddressList (RTM)

Microsoft Exchange Server 2007 will reach end of support on April 11, 2017. To stay supported, you will need to upgrade. For more information, see Resources to help you upgrade your Office 2007 servers and clients.

 

Applies to: Exchange Server 2007

Use the New-GlobalAddressList cmdlet to create a new global address list (GAL).

Syntax

New-GlobalAddressList -Name <String> [-ConditionalCompany <MultiValuedProperty>] [-ConditionalCustomAttribute1 <String>] [-ConditionalCustomAttribute10 <String>] [-ConditionalCustomAttribute11 <String>] [-ConditionalCustomAttribute12 <String>] [-ConditionalCustomAttribute13 <String>] [-ConditionalCustomAttribute14 <String>] [-ConditionalCustomAttribute15 <String>] [-ConditionalCustomAttribute2 <String>] [-ConditionalCustomAttribute3 <String>] [-ConditionalCustomAttribute4 <String>] [-ConditionalCustomAttribute5 <String>] [-ConditionalCustomAttribute6 <String>] [-ConditionalCustomAttribute7 <String>] [-ConditionalCustomAttribute8 <String>] [-ConditionalCustomAttribute9 <String>] [-ConditionalDepartment <MultiValuedProperty>] [-ConditionalStateOrProvince <MultiValuedProperty>] [-DomainController <Fqdn>] [-IncludedRecipients <Nullable>] [-TemplateInstance <PSObject>]

New-GlobalAddressList -Name <String> [-DomainController <Fqdn>] [-RecipientFilter <String>] [-TemplateInstance <PSObject>]

Detailed Description

The New-GlobalAddressList cmdlet creates a new GAL. The GAL is created under the Microsoft Exchange Organization configuration container in the Active Directory directory service.

To run the New-GlobalAddressList cmdlet, the account you use must be delegated the following:

  • Exchange Organization Administrator role

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

Parameters

Parameter Required Type Description

Name

Required

System.String

The Name parameter specifies the name of the new GAL.

ConditionalCompany

Optional

Microsoft.Exchange.Data.MultiValuedProperty

The ConditionalCompany parameter sets the company attribute on the GAL.

ConditionalCustomAttribute1

Optional

System.String

This parameter specifies custom attributes. You can use these attributes to store additional information.

ConditionalCustomAttribute10

Optional

System.String

This parameter specifies custom attributes. You can use these attributes to store additional information.

ConditionalCustomAttribute11

Optional

System.String

This parameter specifies custom attributes. You can use these attributes to store additional information.

ConditionalCustomAttribute12

Optional

System.String

This parameter specifies custom attributes. You can use these attributes to store additional information.

ConditionalCustomAttribute13

Optional

System.String

This parameter specifies custom attributes. You can use these attributes to store additional information.

ConditionalCustomAttribute14

Optional

System.String

This parameter specifies custom attributes. You can use these attributes to store additional information.

ConditionalCustomAttribute15

Optional

System.String

This parameter specifies custom attributes. You can use these attributes to store additional information.

ConditionalCustomAttribute2

Optional

System.String

This parameter specifies custom attributes. You can use these attributes to store additional information.

ConditionalCustomAttribute3

Optional

System.String

This parameter specifies custom attributes. You can use these attributes to store additional information.

ConditionalCustomAttribute4

Optional

System.String

This parameter specifies custom attributes. You can use these attributes to store additional information.

ConditionalCustomAttribute5

Optional

System.String

This parameter specifies custom attributes. You can use these attributes to store additional information.

ConditionalCustomAttribute6

Optional

System.String

This parameter specifies custom attributes. You can use these attributes to store additional information.

ConditionalCustomAttribute7

Optional

System.String

This parameter specifies custom attributes. You can use these attributes to store additional information.

ConditionalCustomAttribute8

Optional

System.String

This parameter specifies custom attributes. You can use these attributes to store additional information.

ConditionalCustomAttribute9

Optional

System.String

This parameter specifies custom attributes. You can use these attributes to store additional information.

ConditionalDepartment

Optional

Microsoft.Exchange.Data.MultiValuedProperty

The ConditionalDepartment parameter sets the company attribute on the GAL.

ConditionalStateOrProvince

Optional

Microsoft.Exchange.Data.MultiValuedProperty

The ConditionalStateOrProvince parameter sets the attribute in the GAL for the state or province. It takes multiple values as a comma-delimited list.

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 on the command.

IncludedRecipients

Optional

System.Nullable

The IncludedRecipients parameter sets the included recipients that are in the GAL.

RecipientFilter

Optional

System.String

The RecipientFilter parameter sets the recipients that are contained in the GAL. The RecipientFilter parameter cannot be used if any of the following parameters are specified:

  • IncludedRecipients

  • ConditionalCompany

  • ConditionalDepartment

  • ConditionalStateOrProvince

For more information about the filterable properties, see Filterable Properties for the -RecipientFilter parameter.

TemplateInstance

Optional

System.Management.Automation.PSObject

When an existing object is supplied to the TemplateInstance parameter, the command will use the configuration of that object to create an exact duplicate of the object on a local or target server.

Input Types

Return Types

Errors

Error Description

Exceptions

Exceptions Description

Example

In this example, the New-GlobalAddressList command is used to create a new GAL named NewGAL.

New-GlobalAddressList -Name NewGAL