Last updated on April 17th, 2023 at 12:22 am
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.
Free Subscription
If you want to be notified when we post more quality guides like this one, sign up to our free subscription service and you will receive an email when a new post is live.
No need to worry, we will not be filling your inbox with spam and you can unsubscribe anytime you like.