We can grant full access permission for a exchange mailbox user using the Add-MailboxPermission powershell cmdlet. To perform this task, your account need to be added in the server roles Organization Management and Recipient Management.
Run the below command to load Exchange cmdlets to use the Add-MailboxPermission cmdlet.
Add-PSSnapin *Exchange*
The following example grants “Morgan” full access permission to Kevin’s mailbox.
Add-MailboxPermission -Identity "Kevin" -User "Morgan" -AccessRights FullAccess -InheritanceType All
Identity – The name of the user on which the full access permission should be added.
User – The mailbox that should be granted the permission.
Set Full Access Permission for Bulk Users from Text file
Use the below powershell script to configure full access permissions for bulk exchange mailbox users from text file. First create the text file Mailboxes.txt which includes one mailbox in each line.
Get-Content C:Mailboxes.txt | ForEach-Object{ $mailbox = $_ Add-MailboxPermission -Identity $mailbox -User "Admin" -AccessRights FullAccess -InheritanceType All }
Configure Full Access Permission for multiple Mailboxes
Use the below powershell command to grant full access permission for multiple exchange mailbox users.
$mailboxes = "TestUser1","TestUser2" $mailboxes | ForEach-Object{ $mailbox = $_ Add-MailboxPermission -Identity $mailbox -User "Admin" -AccessRights FullAccess -InheritanceType All }
Advertisement