Granting Full Mailbox Access in E2K7

Friday, June 22, 2007
Sometimes administrators need access to another user's mailbox (for example, resource mailboxes). The PowerShell one-liner for this is:
Add-MailboxPermission SF-Conference -AccessRights FullAccess -user admin1234
(where SF-Conference is the mailbox to assign rights to, and admin1234 is the user who gets the rights)

And here's a one-liner that will do the same to all users in the Exchange organization:

Get-Mailbox | Add-MailboxPermission -AccessRights FullAccess -user admin1234


  1. Thanks, that really came in handy. One question though. In your second example (which I'm not about to try), shouldn't admin1234 be changed to something else, since you are piping in the output of the Get-Mailbox cmdlet?

  2. No, that's the correct command. Get-Mailbox returns a collection of all mailboxes, which is piped to Add-MailboxPermission which adds the admin1234 user to each mailbox with full access.

  3. When you use the Add-Permission (or most other Exchange powershell commands), the argument right after the command that does not have a switch has an implied switch of -identity, which is passed from the previous command when piping.


Thank you for your comment! It is my hope that you find the information here useful. Let others know if this post helped you out, or if you have a comment or further information.