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:
http://technet.microsoft.com/en-us/library/bb125153.aspx
2 comments:
This doesn't remove permissions , it adds the Deny Permission. This removes
Get-Mailbox | Remove-MailboxPermission -User domain\user -AccessRights FullAccess -InheritanceType All
Post a Comment