Exchange Powershell Exchange and Powershell Helps, Tips, and Tricks

Archive for the ‘GAL – Global Address List’ Category

List Members of a Dynamic Distribution List

07.12.2010 · Posted in Exchange, GAL - Global Address List

This post was inspired by a post found on www.howexchangeworks.com But I have modified the commands some to get a better listing. $group = Get-DynamicDistributionGroup –identity “AllStaff” Get-Recipient –RecipientPreviewFilter $group.RecipientFilter | sort name | select name > d:\_temp\dlist_members.txt These changes will give you an alphabetical list of members, with names only in the list. I ...

List of Hidden Distribution Group

07.06.2010 · Posted in GAL - Global Address List, Powershell

You may find that you need to get a list of all of the distribution groups in your Exchange Organization that are hidden from the GAL (Global Address List). The following command is a simple powershell command that will accomplish this. get-distributiongroup | select name, hiddenfromaddresslistsenabled | WHERE {$_.HiddenFromAddressListsEnabled -eq $true } This will give ...

How to hide a Distribution Group from the GAL with Powershell

07.06.2010 · Posted in GAL - Global Address List, Powershell

Here is a simple command that will save you some time. Instead of having to open up a GUI, you can just type this command in a PowerShell window and hide a Group from the GAL (Global Address List) set-distributiongroup [GROUPNAME] -HiddenFromAddressListsEnabled $true This will then hide the list from the GAL. No need to ...