Solved

hide multiple  exchange contacts

Posted on 2010-09-12
5
783 Views
Last Modified: 2012-08-13
I have a couple hundred mail enabled contacts I need to hide from the GAL. How can I do that?

exchange 2003 .

Thxs
0
Comment
Question by:KratosDefense
  • 3
5 Comments
 
LVL 16

Expert Comment

by:Postmaster
ID: 33659596
Export them from a command prompt with LDIFDE and then modify the settings and import back in.

eg.
ldifde -f c:\contact_check.ldf -r "(&(objectClass=contact)(displayname=*))" -l "displayname,msExchHideFromAddressLists"

Edit the list (in notepad) and make each entry like this.
(remove the displayname, it was just there to help recognise each contact)

dn: CN=.....
changetype: modify
replace: msExchHideFromAddressLists
msExchHideFromAddressLists: TRUE
-

dn: CN=.....
changetype: modify
replace: msExchHideFromAddressLists
msExchHideFromAddressLists: TRUE
-

Note: you must have the record terminator "-" at the end of each record, followed by a blank line.
Inmport with:
ldifde -i -f c:\contact_check.ldf -j c:\

It will write a log to the c-drive.
0
 
LVL 53

Accepted Solution

by:
Will Szymkowski earned 500 total points
ID: 33661031
Take a look here as you can use Powershell to accomplish this...
http://it.peterspowerblog.com/2008/07/03/hiding-contacts-from-global-address-list-using-exchange-powershell.aspx

Hope this helps~!
0
 

Author Comment

by:KratosDefense
ID: 33667245
Spec01, can I run this PS command for contacts on exch 2003 server? I am also running 2007 -sameorg; however, the contacts are on ex2003.

?
0
 

Author Comment

by:KratosDefense
ID: 33667270
I ran the command and got:

WARNING: The command completed successfully but no settings of
'wfinat.com/Gichner/Contacts/Willie E. Vase' have been modified.


any ideas?
0
 

Author Closing Comment

by:KratosDefense
ID: 33667324
I got it to work. Thxs
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Local Continuous Replication is a cost effective and quick way of backing up Exchange server data. The following article describes the steps required to configure Local Continuous Replication. Also, the article tells you how to restore from a backup…
This process describes the steps required to Import and Export data from and to .pst files using Exchange 2010. We can use these steps to export data from a user to a .pst file, import data back to the same or a different user, or even import data t…
In this video we show how to create a Contact in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: First we need to log into the Exchange Admin Center. Navigate to the Recipients >> Contact ta…
To add imagery to an HTML email signature, you have two options available to you. You can either add a logo/image by embedding it directly into the signature or hosting it externally and linking to it. The vast majority of email clients display l…

911 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now