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