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;
Related Articles, References, Credits, or External Links
NA