How to Export the Exchange 2010 Default Global Address List (GAL)

Home > Blogs > Exchange Server > How to Export the Exchange 2010 Default Global Address List (GAL)

How to Export the Exchange 2010 Default Global Address List (GAL)

Like This Blog 4 Mike Pfeiffer
Added by May 9, 2012

Looking to export your Exchange 2010 default global address list (GAL) to an external file? This is supported natively right from the Exchange Management Console (EMC). Just navigate to the Recipient Configuration node in EMC, and select the recipient type. Then from the actions pane, you can select the "Export List" option and dump the data out to a CSV or text file.

You can also customize the fields. Before exporting using EMC, you'll want to go up to View > Add Remove Columns and choose which properties you want in your file. Keep in mind that with this method, you'll need to go to each recipient type, such as mailbox, distribution group, mail contact, etc. and export your list.

Another option is the Exchange Management Shell. If you take a look at the default global address list, you'll notice it already has a filter defined:

You can use this filter to generate your report using the Get-Recipient cmdlet. This takes mailboxes, contacts, groups, and mail-enabled public folders into account for you.

To generate a report using this filter, use the following:

You might also want to filter out recipients that have the HiddenFromAddressLists enabled property set to true. You could modify the filter, or you could just use Where-Object and do it after the fact:

It will be a lot faster, especially in environments with lots of mailboxes, if you use a server side filter to exclude those hidden recipients:

What you should end up with is something you can open in Excel that looks like this:

You can select additional properties if needed, just add them when calling Select-Object. Also, you may want to dump this data out to HTML. If that is the case, replace Export-CSV with ConvertTo-Html and redirect the output to a file with a .html extension. Finally, keep in mind that the Get-Recipient will return 1000 objects by default. You can override this by setting its -ResultSize parameter to a specific value, or to Unlimited.


Mike Pfeiffer – Microsoft MVP
Director of Unified Communications
Interface Technical Training

Videos You May Like

A Simple Introduction to Cisco CML2

0 3859 0

Mark Jacob, Cisco Instructor, presents an introduction to Cisco Modeling Labs 2.0 or CML2.0, an upgrade to Cisco’s VIRL Personal Edition. Mark demonstrates Terminal Emulator access to console, as well as console access from within the CML2.0 product. Hello, I’m Mark Jacob, a Cisco Instructor and Network Instructor at Interface Technical Training. I’ve been using … Continue reading A Simple Introduction to Cisco CML2

Creating Dynamic DNS in Network Environments

0 629 1

This content is from our CompTIA Network + Video Certification Training Course. Start training today! In this video, CompTIA Network + instructor Rick Trader teaches how to create Dynamic DNS zones in Network Environments. Video Transcription: Now that we’ve installed DNS, we’ve created our DNS zones, the next step is now, how do we produce those … Continue reading Creating Dynamic DNS in Network Environments

Encrypting a USB Flash Drive in Windows 10

1 451 3

Hi, my name is Mike Danseglio. I’m an instructor here at Interface Technical Training. I want to talk a little bit about encrypting USB flash drives with Windows 10. The concept of protecting data when it’s on a USB flash drive is not a new concept. BitLocker 2-day instructor-led training is now available at Interface: … Continue reading Encrypting a USB Flash Drive in Windows 10

Write a Comment

See what people are saying...

    Share your thoughts...

    Please fill out the comment form below to post a reply.