Hiding contacts in the global address list
I have a global address list that contains various external contacts, i.e. email addresses that do not belong to our company. I would like to hide these contacts from displaying in the GAL. How can I achieve this other than clicking on the contacts one by one and select "hide from gloabl address list" ?
I am running Exchange2007 on a Windows 2003 Active Directory Domain.
regards
Yong Chee Wai
May 5th, 2007 12:26pm
Do you want to hide all contact objects from the GAL? If so you can use the following command via the Exchange 2007 management shell.
Get-MailContact | Set-MailContact -HiddenFromAddressListsEnabled $True
This command will work on all existing contact objects. You will needto set the HiddenFromAddressListEnabled attribute to $true as each new contact object is created.
Set-MailContact <alias> -HiddenFromAddressListsEnabled $True
--Nick
Free Windows Admin Tool Kit Click here and download it now
May 6th, 2007 6:47am
You could also use ADModify.NET to make a bulk change in AD.
http://www.gotdotnet.com/workspaces/workspace.aspx?id=f5cbbfa9-e46b-4a7a-8ed8-3e44523f32e2
Here's a short tutorial on how to use it:
http://www.activedir.org/article.aspx?aid=130
Tony
May 6th, 2007 11:57pm