Managing Groups CMDlets

Get Distribution Group
Get-DistributionGroup -identity ‘user@domain.com’ | fl

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

Get Distribution Group information
Get-DistributionGroup -Identity ‘group@domain.com’ | 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 ‘group@domain.com’ | 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 ‘group@domain.com’ | 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:

WordPress.com Logo

You are commenting using your WordPress.com 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 )

Google+ photo

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

Connecting to %s

%d bloggers like this: