Cyber Security

Exchange/Outlook: Hide Group Members in Address Book with PowerShell

Who are the group members? The members of a distribution group can be listed by any user in Outlook. Sometimes you don’t want that. This is what the group attribute hideDLMembership stands for. In this article I am going to show you how to hide group members in Outlook with PowerShell, so that nobody can look behind the scenes of your group to list the group members. Let’s jump in.

First, I create an Exchange universal distribution group and add some members.

Unbenannt.PNG

Then I change the Active Directory group attribute hideDLMembership with a PowerShell one-liner.


Get-ADGroup "Secret Group" -Properties hideDLMembership | Set-ADGroup -Add @{hideDLMembership=$true}

That’s it.

From now on the group members are hidden.

See also

Exchange: How to create Inbox Rules with PowerShell

Exchange: How to export a Mailbox to PST using PowerShell

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

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