Granting Full Mailbox Access in E2K7
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
Labels: Microsoft Exchange 2007, PowerShell



2 Comments:
I tried this and I get the response "A parameter cannot be found that matches parameter name 'AccessRights'. I have had this same situation when trying to perform other shell commands, and it doesn't make sense to me. Can't find any info on it either... the other I was trying to change size limits on an internal routing group. What am I doing wrong!?
Hi Jeremy,
You're not doing anything wrong -- it's the way Blogger was formatting my post. Apparently it's stripping the "|" (pipe symbol) from the command.
I found a way to enter it so that Blogger accepts it properly. I edited the command in the post above to be correct. It should be:
Get-Mailbox | Add-MailboxPermission -AccessRights FullAccess -user admin1234
(Note the pipe between Get-Mailbox and Add-MailboxPermission)
Thanks for the letting me know!
Post a Comment
Thank you for posting a comment! It is my hope that you find the information here useful. Let me know (and others) if this post helped you out or if you have a comment or further information.
Links to this post:
Create a Link
<< Home