Remove an user for an Exchange Database


  • Hello all,

    I hope that you are well !

    I have a simple question for you...we want to remove rights for an user in our Exchange 2010 DB.

    So we did that command to gave the user full access:

    Get-MailboxDatabase -identity "DB" |Add-ADPermission -user janedoe-AccessRights GenericAll

    So the question is how to remove janedoe rights with PowerShell...?

    Best regards to all of you


    Thursday, May 02, 2013 1:47 PM


  • Hi

    If you want to remove the permissions. In place of add you can use remove to reverse it

    Get-MailboxDatabase -identity "DB" |Remove-ADPermission -user janedoe-AccessRights GenericAll

    Whenever you see a helpful reply, click on Vote As Helpful & click on Mark As Answer if a post answers your question.

    • Marked as answer by Mespo Thursday, May 02, 2013 2:43 PM
    Thursday, May 02, 2013 2:33 PM