Tuesday 26 February 2013

How to give full access permissions for multiple users on Shared Mailbox in Exchange 2010


I have created a shared mailbox with name Team1 with email address Team1@contoso.com

Below are the list of users i need to provide full access on the shared mailbox "Team1"

User1
User2
User3

I have opened a notepad and pasted the list of users mentioned above and named the notepad as test.txt

Open another notepad and copy the code mentioned below and save it as mbx.ps1


$var1 = Read-Host "Type the file name" ### example.txt as an example
$var2 = Read-Host "Type the generic mailbox name to give full access" ### e.g. examplemailbox
Get-Content $var1 | foreach { Add-MailboxPermission $var2 -User $_ -AccessRights fullaccess}

Open EMS, navigate to the path where you have kept test.txt and mbx.ps1

I have saved the two files in desktop, so i have navigated to the location in EMS and ran .\mbx.ps1

Provided the file name which contains the user list.
Provided the Shared mailbox name on which i need to provide full access permission.


No comments:

Post a Comment