I need to reverse email admin rights I gave a few months ago

A few months ago I asked how I could set up a manager in exchange to be able to access everyone's mailbox. Now that manager is no longer with us and I am interested in reversing it. Add-ADPermission –identity "mailbox database" –user "Manager" -AccessRights FullAccess....was the command I was given last April. How can I change it so "manager" does not disply a FULL ACCESS RIGHTS in everyones mailbox?
LVL 1
Thor2923Asked:
Who is Participating?
 
gravy-xCommented:
get-mailbox | remove-adpermission -user <manager's username> -accessrights fullaccess
I'd also run:
get-mailbox | remove-mailboxpermission -user <manager's username> -accessrights fullaccess

Also, for future reference, I think running the add-mailbox permission makes more sense than running the add-adpermission; unless your particular environment necessitates the AD permissions.
0
 
Suliman Abu KharroubIT Consultant Commented:
0
 
Suliman Abu KharroubIT Consultant Commented:
Sorry, the correct one is remove-adpermission:

http://technet.microsoft.com/en-us/library/aa996048.aspx
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.