Managing Groups CMDlets

Get Distribution Group
Get-DistributionGroup -identity ‘’ | fl

Get Distribution Group Members and export to text file
Get-DistributionGroupMember -Identity ‘’ | ft name, primarysmtpaddress > c:\path\file.txt

Get Distribution Group information
Get-DistributionGroup -Identity ‘’ | fl DisplayName, Alias, PrimarySmtpAddress, EmailAddresses, RecipientType, HiddenFromAddressListsEnabled, LastExchangeChangedTime, LegacyExchangeDN, WhenChanged, WhenCreated, WhenChangedUTC, WhenCreatedUTC, AcceptMessagesOnlyFrom, AcceptMessagesOnlyFromDLMembers, AcceptMessagesOnlyFromSendersOrMembers, CustomAttribute*

Add Group member when group is secured
Add-DistributionGroupMember -identity “Group1” -Member “User1” -BypassSecurityGroupManagerCheck

Get-Distribution Group Members
Get-DistributionGroupMember -identity “Group1”

Use when troubleshooting Who has permissions to send to group
Get-DistributionGroup -Identity ‘’ | fl DisplayName,PrimarySmtpAddress, RecipientType, HiddenFromAddressListsEnabled, LastExchangeChangedTime, AcceptMessagesOnlyFrom, AcceptMessagesOnlyFromDLMembers, AcceptMessagesOnlyFromSendersOrMembers, CustomAttribute*

Find out if External Senders are allowed to send to Distribution Group
Get-DistributionGroup -Identity ‘’ | ft name,primarysmtpaddress,require* -AutoSize

Find which groups require Sender Authenication
Get-DistributionGroup | where {$_.RequireSenderAuthenticationEnabled -ne “true”} | sort-object -property Alias | Ft Alias,RequireSender

Categories: Exchange 2010, Exchange Server

Tags: , , , , , , , , , , ,

We look forward to hearing your feedback..

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

You are commenting using your 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

%d bloggers like this: