Managing Groups CMDlets

Home/Exchange Server/Exchange 2010/Managing Groups CMDlets

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

Please feel free to share.
By | 2013-07-19T19:42:57+00:00 July 19th, 2013|Exchange 2010, Exchange Server|0 Comments

About the Author:

Leave A Comment