5d05eb33135798a962e3199db1fa4a4c

If you have mail contacts in your Exchange environment then you may want to hide them from your global address book if you are using them as forwarders.

To do this, open up Exchange Management Shell (EMS) and run the following command:

Get-MailContact -OrganizationalUnit "ADOU" | Set-MailContact -hiddenfromaddresslistsenabled $true

where:

  • “ADOU” = Organisational Unit
  • $true = set all contacts to hidden (change to $false to un-hide)

This will set all the mail contacts within the stated Active Directory Organisation Unit to hidden and will not show in your global address book.

COMMENTS

If you have any questions or feedback on this guide, please leave us a message below.

Click to rate this post!
[Total: 0 Average: 0]

Discover more from TechyGeeksHome

Subscribe to get the latest posts to your email.

Avatar for Andrew Armstrong

Andrew Armstrong

Founder of TechyGeeksHome and Head Editor for over 15 years! IT expert in multiple areas for over 26 years. Sharing experience and knowledge whenever possible! Making IT Happen.

Leave us a message...

This site uses Akismet to reduce spam. Learn how your comment data is processed.