Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 821
  • Last Modified:

hide multiple exchange contacts

I have a couple hundred mail enabled contacts I need to hide from the GAL. How can I do that?

exchange 2003 .

Thxs
0
KratosDefense
Asked:
KratosDefense
  • 3
1 Solution
 
PostmasterCommented:
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
 
Will SzymkowskiSenior Solution ArchitectCommented:
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
 
KratosDefenseAuthor Commented:
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
 
KratosDefenseAuthor Commented:
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
 
KratosDefenseAuthor Commented:
I got it to work. Thxs
0

Featured Post

Simplify Active Directory Administration

Administration of Active Directory does not have to be hard.  Too often what should be a simple task is made more difficult than it needs to be.The solution?  Hyena from SystemTools Software.  With ease-of-use as well as powerful importing and bulk updating capabilities.

  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now