Start the Exchange Management Shell.

image

To grant a user account Full Access permissions over a mailbox we can issue the following command:

Get-Mailbox MailboxName | Add-MailboxPermissions -AcessRights FullAccess -user domain\username

A more specific example would be if we needed to grant Full Access permissions to a domain account domain.com\test over a mailbox belonging to a username it_report.

Following the generic example above we’d issue the following command.

Get-Mailbox it_report | Add-MailboxPermissions –AccessRights FullAccess –user domain.com\test

image

Alternatively you would use the Remove-MailboxPermissions switch to take away Full Access Permissions for a mailbox.

Get-Mailbox it_report | Remove-MailboxPermissions – AccessRights FullAccess –user domain.com\test

image

You will be prompted to confirm the permissions removal before changes are committed.

To grant or remove Full Access permissions over all of your mailboxes on your Exchange server, you would want to use the –resultsize unlimited switch.

Get-Mailbox –resultsize unlimited | Add-MailboxPermissions –AccessRights FullAccess –user domain.com\test

Get-Mailbox –resultsize unlimited | Remove-MailboxPermissions –AccessRights FullAccess –user domain.com\test

%d bloggers like this: