Thursday, June 11, 2009

How to Remove FullAccess from ALL Exchange Mailboxes

The following is the Exchange 2007 Management Shell script to remove FullAccess off all mailboxes for a specific username:

get-mailbox | Add-MailboxPermission -User 'domain\user' -Deny -AccessRights FullAccess

The -User 'domain\user' is the user account you want to remove FullAccess for.

For additional information:


Vic D said...
This comment has been removed by the author.
Paris Wells said...

This doesn't remove permissions , it adds the Deny Permission. This removes

Get-Mailbox | Remove-MailboxPermission -User domain\user -AccessRights FullAccess -InheritanceType All