Exchange Powershell to Remove Reviewer access from all Folders in a mailbox?

Status
Not open for further replies.

Britonius

Member
Outlook version
Outlook 2010 64 bit
Email Account
Exchange Server
We have an Exchange PowerShell script that locates all folders in a mailbox and grants Reviewer access to a designated person. It is documented in this document and can be downloaded and reviewed. I am new to Exchange and PowerShell so this is way over my head currently. I'm not sure this is the right forum to ask for this help. If not, do you have any suggestions where I can go to get help?

http://gallery.technet.microsoft.com/exchange/Add-Read-Only-Access-to-6e080379

I need a Powershell script that will do the opposite of the above script. It needs to find and remove reviewer access for a specific person to a specific mailbox. Can anyone here help me?
 

Diane Poremsky

Senior Member
Outlook version
Outlook 2016 32 bit
Email Account
Office 365 Exchange
Re: Exchange Powershell to Remove Reviewer access from all Folders in a mailbo

so you need to check all mailboxes to see if a specific person is set as reviewer? Do you want the person removed if they have any permission or only when they have reviewer?

This is the cmdlet that removes folder permission:

Remove-MailboxFolderPermission -Identity mailbox-name -User user@to-be-removed.com

http://technet.microsoft.com/en-us/library/dd351181(v=exchg.150).aspx

powershell is not my strong point - the TechNet forums would be better -

http://social.technet.microsoft.com/Forums/exchange/en-US/home?category=exchangeserver,exchange2010,exchangeserverlegacy
 

Britonius

Member
Outlook version
Outlook 2010 64 bit
Email Account
Exchange Server
Re: Exchange Powershell to Remove Reviewer access from all Folders in a mailbo

It's OK, I figured this might not be the best place for a PowerShell question, but I figure it wouldn't hurt to ask. Yeah, basically we need to be able to provide the script with the alias of the mailbox to search and the alias of the person's reviewer access that needs to be removed. I did see where the TechNet Gallery has a way to submit a needed PowerShell script, so hopefully they can help me out. Thanks for pointing me to the Remove cmdlet and the TechNet Forums.
 

Diane Poremsky

Senior Member
Outlook version
Outlook 2016 32 bit
Email Account
Office 365 Exchange
Re: Exchange Powershell to Remove Reviewer access from all Folders in a mailbo

Yeah, simple questions I can answer, but I'm not a powershell expert by any means and this question needs an expert IMHO.
 
Status
Not open for further replies.
Top