This post contains the information
on how to manage distribution list in Exchange server 2010. In exchange server
2010, only the universal distribution or the security group can be mail
enabled. No other scopes like Local or Global Distribution Groups are supported
in Exchange Server 2010. Below are the distribution groups that can be created
- Mail enabled Universal Distribution Group
- Mail enabled universal Security Group
- Dynamic Distribution Group
Now we will have a look at some of
the topics related to managing distribution list in exchange server 2010.
[important title ="How to
create a Distribution Group in Exchange Server 2010"]
New-DistributionGroup -Name “Name of
the Distribution Group” -OrganizationalUnit “DomainName.Com/Exchange
Distribution Lists” -SAMAccountName “DIstributionGroupAlias” -Type “Distribution”
[/important]
[important title ="How to add
owner to a distribution group"]
Set-Group -Identity “DL Group Name”
-ManagedBy “Domain Name\UserName” [/important]
[important title ="How to add
Permission to distribution group for Owner"]
After adding Managedby user on a
distribution group, better to give read and write access permission for Owner
Add-ADPermission -Identity “DL Group
Name” -User “DomainName\user” -AccessRights ReadProperty, WriteProperty
-Properties ‘Member’ [/important]
[important title ="How to
change the owner of a distribution group"]
Set-DistributionGroup -Identity “DL
Group Name” -ManagedBy “DomainName\NewOwnerUser”
Add-ADPermission -Identity “DL Group
Name” -User “DomainName\NewOwnerUser” -AccessRights ReadProperty, WriteProperty
-Properties ‘Member’ [/important]
[important title ="How to add a
second or additional owner for a distribution group"]
Giving read and write access
permission at active directory level will allow the other user to function as a
co owner for a Distribution Group
Set-DistributionGroup -ManagedBy
‘New Onwer Name’,'Old Owner Name’ -Identity ‘Distribution Group Name’
Add-ADPermission -Identity “DL Group
Name” -User “DomainName\SecondOwner” -AccessRights ReadProperty, WriteProperty
-Properties ‘Member’ [/important]
[important title ="How to
remove additional owner from a distribution group"]
Remove-ADPermission -Identity “DL
Group Name” -User ” DomainName\SecondOwner ” -AccessRights ReadProperty,
WriteProperty -Properties ‘Member’ [/important]
[important title ="How to
rename a Display name and Alias Name for a Distribution Group"]Set-DistributionGroup
-Identity ‘Distribution Group Name’ -DisplayName ‘Enter New Name’ -Alias
“New_Alias” [/important]
[important title ="How to
export the members list from a Distribution Group"]
Get-DistributionGroupMember
-Identity ‘Distribution Group Name” | FL Name [/important]
[important title ="How to add a
New Member to the distribution Group"]
Add-DistributionGroupMember
-Identity “Distribution Group Name” -Member “UserName’ [/important]
[important title ="How to
disable or remove a Distribution Group"]
Disable-DistributionGroup -Identity
“Distribution Group Name”
Remove-DistributionGroup -Identity
“Distribution Group Name” [/important]
[important title ="How to mail
enable or mail disable a security group"]
If we have an active directory
security group available and if we want to mail enable that security group, we
can use the below shell command and email address will be created for that
security group
Enable-DistributionGroup –Identity
“DL Display Name”
Disable-DistributionGroup –Identity
“DL Display Name” [/important]
[important title ="How to allow
external users to send email to the distribution list"]
Set-DistributionGroup -Identity
‘Distribution Group Name’ -RequireSenderAuthenticationEnabled $True
[/important]
[important title ="How to allow
owners to approve or restrict member to join or to leave a Distribution
Group"]
Set-DistributionGroup
-MemberJoinRestriction ‘ApprovalRequired’ -MemberDepartRestriction ‘Closed’
-Identity ‘Distribution Group Name’ [/important]
[important title ="How to allow
only few users to send email to distribution list"]
Set-DistributionGroup
-AcceptMessagesOnlyFromSendersOrMembers ‘User Name 1’,’User Name 2′
-RequireSenderAuthenticationEnabled $True -Identity ‘Distribution Group Name’
[/important]
[important title ="How to
restrict few users to send email to distribution list"]
Set-DistributionGroup
-AcceptMessagesOnlyFromSendersOrMembers “All Users” -RequireSenderAuthenticationEnabled
$True -Identity ‘Distribution Group Name’ -RejectMessagesFromSendersOrMembers
‘User Name 1’,’User Name 2′ [/important]
[important title ="How to set a
Message Moderator to allow emails and to bypass approval from few users"]
Set-DistributionGroup
-ModerationEnabled $true -ModeratedBy ‘Moderator User Name’
-BypassModerationFromSendersOrMembers ‘User don’t require approval’ -Identity
‘Distribution Group Name’ [/important]
[important title ="How to hide
a distribution group from Gloabll Address List"]
Set-DistributionGroup -Identity
‘Distribution Group Name’ -HiddenFromAddressListsEnabled $true[/important]
[important title ="How to add
additional email address to a distribution list"]
Set-DistributionGroup -Identity
‘Distribution Group Name’ -EmailAddresses
‘SMTP:existingemailaddress’,'smtp:Newemailaddress’ [/important]
[important title ="How to
create a dynamic distribution list"]
New-DynamicDistributionGroup -Name
“Name of DDG” -Alias “Alias_Name” -IncludedRecipients “MailboxUsers,MailContacts”
-OrganizationalUnit “DomainName.com/Users” -ConditionalDepartment
“DepartmentName1″,”DepartmentName2″ -RecipientContainer “DomainName.com”
[/important]
If you are having any issue on
running the above shell command or any other management task using shell
command to be included, kindly leave your comments
No comments:
Post a Comment