locked
Automate Hide from exchange address lists ticking RRS feed

  • Question

  • Is there a way using powershell to tick "Hide from address lists" on all of our Mail Contacts? We are importing a lot of external email addresses as contacts on the server but would like them hidden from the GAL. Manual ticking works, but would like something that once a day goes and ticks it for everyone in Mail contacts.

     

    Not been able to find any information so far, if anyone can share any pointers that would be great.

    Tuesday, November 29, 2011 3:18 PM

Answers

  • Hello Kimbol,

    this will help you to achieve your goal:

    Get-MailContact | Set-MailContact -HiddenFromAddressListsEnabled $true

    hope this helps!


    Thanks & Regards, Kottees
    • Proposed as answer by Terence Yu Wednesday, November 30, 2011 1:34 AM
    • Marked as answer by Terence Yu Wednesday, December 7, 2011 8:10 AM
    Tuesday, November 29, 2011 5:34 PM

All replies

  • Hello Kimbol,

    this will help you to achieve your goal:

    Get-MailContact | Set-MailContact -HiddenFromAddressListsEnabled $true

    hope this helps!


    Thanks & Regards, Kottees
    • Proposed as answer by Terence Yu Wednesday, November 30, 2011 1:34 AM
    • Marked as answer by Terence Yu Wednesday, December 7, 2011 8:10 AM
    Tuesday, November 29, 2011 5:34 PM
  • Hi
       Do you have anything to update your case ?

    Terence Yu

    TechNet Community Support

    Wednesday, December 7, 2011 2:55 AM