Thursday, February 16, 2012

Exchange 2010 enable mailbox for distribution group


Here's how to generate mailbox for a distribution group:

Open Exchange Management Shell with Administrator rights, then:

Enable-DistributionGroup -Identity "<GROUP_NAME>" -Alias "<GROUP_NAME>" -DisplayName "<CAN BE CUSTOM>" -PrimarySMTPAddress "<DESIRED E-MAIL ADDRESS>"


Example:

Enable-DistributionGroup -Identity "grpBattm2007" -Alias "grpBattm2007" -DisplayName "Battm2007" -PrimarySMTPAddress "grpBattm2007@ibs-t.hu"

-> This will create a distribution group named grpBattm2007 from a group named grpBattm2007, and set the display name of the group to Battm2007, with e-mail address of grpBattm2007@ibs-t.hu
The DisplayName parameter can be omitted, in this case the display name will be the same as the group name.

Output sample:

Name                          DisplayName                   GroupType                     PrimarySmtpAddress
----                          -----------                   ---------                     ------------------
grpBattm2007                  Battm2007                     Universal, SecurityEnabled    grpBattm2007@ibs-t.hu

No comments:

Post a Comment