Export (0) Print
Expand All

Get-GlobalAddressList

 

Applies to: Exchange Server 2013, Exchange Online

Topic Last Modified: 2014-03-05

This cmdlet is available only in on-premises Exchange Server 2013.

Use the Get-GlobalAddressList cmdlet to return all the attributes of a global address list (GAL) or a set of GALs.

For information about the parameter sets in the Syntax section below, see Syntax.

Get-GlobalAddressList -DefaultOnly <SwitchParameter> <COMMON PARAMETERS>
Get-GlobalAddressList [-Identity <GlobalAddressListIdParameter>] <COMMON PARAMETERS>
COMMON PARAMETERS: [-DomainController <Fqdn>] [-Organization <OrganizationIdParameter>]

This example doesn't use parameters and returns all the attributes of all GALs.

Get-GlobalAddressList

This example uses the DefaultOnly parameter to return all the attributes of the default GAL only.

Get-GlobalAddressList -DefaultOnly

The Get-GlobalAddressList cmdlet is mainly used to populate the GAL property pages in the Exchange Administration Center. This command doesn't provide a filtering capability. If filtering is required, you should use a WHERE clause with the command.

You need to be assigned permissions before you can run this cmdlet. Although all parameters for this cmdlet are listed in this topic, you may not have access to some parameters if they're not included in the permissions assigned to you. To see what permissions you need, see the "Global address lists" entry in the Email address and address book permissions topic.

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 details, see the “Add a role to a role assignment policy” section of Manage role assignment policies.

 

Parameter Required Type Description

DefaultOnly

Required

System.Management.Automation.SwitchParameter

The DefaultOnly parameter specifies the default GAL only.

DomainController

Optional

Microsoft.Exchange.Data.Fqdn

The DomainController parameter specifies the fully qualified domain name (FQDN) of the domain controller that retrieves data from Active Directory.

Identity

Optional

Microsoft.Exchange.Configuration.Tasks.GlobalAddressListIdParameter

The Identity parameter specifies the GUID, distinguished name (DN), or GAL name that represents a specific address list. You can also include the path by using the format Path\GlobalAddressListName.

You can omit the parameter label so that only the GAL name or GUID is supplied.

Organization

Optional

Microsoft.Exchange.Configuration.Tasks.OrganizationIdParameter

The Organization parameter is reserved for internal Microsoft use.

To see the input types that this cmdlet accepts, see Cmdlet Input and Output Types. If the Input Type field for a cmdlet is blank, the cmdlet doesn’t accept input data.

To see the return types, which are also known as output types, that this cmdlet accepts, see Cmdlet Input and Output Types. If the Output Type field is blank, the cmdlet doesn’t return data.

 
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft