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
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.
Microsoft is conducting an online survey to understand your opinion of the Technet Web site. If you choose to participate, the online survey will be presented to you when you leave the Technet Web site.
Would you like to participate?