Tuesday, January 17, 2012

How to grant full access permissions to every mailbox in Exchange 2010

I needed to access 75 mailboxes across multiple mailbox databases and didn't want to grant myself full access permissions to them one at a time so i went searching for a solution.  This nifty command granted me access to every mailbox in the company:

Get-MailboxDatabase  | Add-ADPermission -user <myusername> -AccessRights GenericAll -InheritanceType All

I found a variation of this command in a technet forum post available here and modified it to give myself access to all mailboxes, and set inheritance.


No comments:

Post a Comment