Friday 27 July 2012

shared mailbox

Create and configure a shared mailbox with PowerShell

After you create a shared mailbox, you have to assign permissions to all users who require access to the shared mailbox. Users can't sign in to the shared mailbox. They have to sign in to their own mailbox and then open the shared mailbox to which they've been assigned permissions.
Here's how to use PowerShell to create and configure a shared mailbox for the Corporate Printing Services department at Contoso Corporation.
  1. Create a shared mailbox   To create the shared mailbox for Corporate Printing Services, run one of the following commands:
New-Mailbox -Name "Corporate Printing Services" -Alias corpprint -Shared

Set-Mailbox corpprint -ProhibitSendReceiveQuota 5GB -ProhibitSendQuota 4.75GB -IssueWarningQuota 4.5GB

New-Mailbox -Name "Corporate Printing Services" -Alias corpprint -Shared

The new shared mailbox is displayed in the Mailboxes list in the Exchange Control Panel.

    2.   Create a security group for the users who need access to the shared mailbox   In the  Exchange  Control Panel, create a security group for the staff who need access to the shared mailbox for Corporate Printing Services.

a. Select My Organization > Users & Groups > Distribution Groups > New.
b. Specify a display name, alias, and e-mail address. In this example, we'll use Printing Services Staff, corpprintDG, and corpprintDG@contoso.com.

c. Select the Make this group a security group check box.

d. In the Ownership section, click Add to add an owner, if necessary.
e. In the Membership section, click Add.

f. In the Select Members page, select the users you want to add. When you are finished, click OK.
g. On the New Group page, click Save.

Note   After you create a security group, the membership is closed. When membership is closed, only group owners can add members to the security group, or owners have to approve requests to join the group. Additionally, only group owners can remove members from the security group.
  
   3.    Assign the security group the FullAccess permission to access the shared mailbox   To enable members of the Printing Services Staff security group to open the shared mailbox, read e-mail, and use the calendar, run the following command:

Add-MailboxPermission "Corporate Printing Services" -User corpprintDG -AccessRights FullAccess
     4.    Assign the security group the SendAs permission to the shared mailbox   To enable members of the Printing Services Staff security group to send e-mail from the shared mailbox, run the following command:
 
Add-RecipientPermission "Corporate Printing Services" -Trustee corpprintDG -AccessRights SendAs

No comments:

Post a Comment