AcloudA

How to Create a Shared Mailbox in Microsoft Exchange Server 2016 with PowerShell

Posted by Karim Buzdar on November 14, 2017
No ratings yet.

In the previous article, I wrote what shared mailbox is and why we use it in Microsoft Exchange Server 2016. Later in the article, I had also demonstrated the method to create a shared mailbox by using Exchange Admin Center (EAC).

In this article, I’ll show you to create a shared mailbox with the help of PowerShell. Since I have already covered the explanation in the previous article, let’s go straight to the step by step method.

Step-By-Step

Open PowerShell with administrative privileges and import an Exchange Management Shell.

Now, let us start with creating a shared mailbox.

PowerShell - Alias - ServerName - ProhibitSendQuota

Alias and Name are mandatory parameters while DisplayName is an optional parameter. If you don’t provide DisplayName, the value of Name parameter is used.

To verify that the shared mailbox has been successfully created, use the following command. It should return the name, display name, and alias of the shared mailbox if it is created successfully.

PowerShell - Verification

We have created the shared mailbox. Let us add members who can read the emails sent to the shared mailbox. (I have given full access rights to the user can create calendar items, read/modify and delete messages)

PowerShell - User - AccessRights - IsInherited Deny

Up til now, the shared mailbox has been created and the users added by using above statement can only read email messages. The last step is to give users a permission so that they can reply to emails sent to the shared mailbox.

PowerShell - User - Deny Inherited

If you would like to add multiple users to the shared mailbox with a single statement, create a security group and provide the name of the group in the value of User parameter.

Let me do it for you. First, create a security group.

Now, the group has been created. The next step is to add members who are part of this group.

The group has been created and members have already been added. Try executing the command to add users to the shared mailbox with the help of newly created security group.

PowerShell - New ADGroup - Add ADGroupMember - Add MaillboxPermission

Similarly. if you would like to give reply permissions to multiple users with a single statement, do it the following way.

PowerShell - Add ADPermission

Conclusion

You are done creating a shared mailbox in Microsoft Exchange Server 2016 by using a Windows PowerShell. Go ahead and try configuring shared mailbox related topics with PowerShell, good luck.

 

Related materials:

Views All Time
12
Views Today
17
Return to all posts

How to extract TAR files
Amazon and Microsoft Now Announce a Joint Project: Gluon

Please rate this

The following two tabs change content below.
Karim Buzdar
Karim Buzdar
Karim Buzdar holds a degree in telecommunication engineering and is a Microsoft Certified Solutions Associate (MCSA) for Server Infrastructure. As an IT engineer and technical author, he focuses on Microsoft Directory Services and PowerShell.

One Response to “How to Create a Shared Mailbox in Microsoft Exchange Server 2016 with PowerShell”

  1. […] How to Create a Shared Mailbox in Microsoft Exchange Server 2016 with PowerShell […]

Leave a Reply

You must be logged in to post a comment.