Exchange: Hide All Contacts From Global Address List

KB ID 0001564

Problem

I saw this on EE this evening, so I thought I’d work it out, what if your Global Address List is full of external ‘contacts’, and you want to remove/hide them?

Solution

First take a look at them, to see you’re not about to cause any damage!

Get-MailContact | Where-Object {$_.HiddenFromAddressListsEnabled -eq $false}

If you are happy, to remove/hide them from the GAL, simply do the following;

Get-MailContact | Set-MailContact -HiddenFromAddressListsEnabled $true

Like so;

Hide Contacts From Global Address List

Related Articles, References, Credits, or External Links

NA

Author: PeteLong

Share This Post On

Submit a Comment

Your email address will not be published. Required fields are marked *