Exchange Powershell Exchange and Powershell Helps, Tips, and Tricks

Posts Tagged ‘Select’

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 ...