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...hangeserver,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.
Similar threads
Thread starter Title Forum Replies Date
Diane Poremsky Use PowerShell to log into Office 365 Exchange Using Outlook 0
R Exchange - Locating a user that has log files but is not found using powershell Exchange Server Administration 1
H Preventing the 'email address fetch from Exchange' crashing email reading code Exchange Server Administration 0
B Strange MAPI/Exchange/IMAP behaviour in OL 2016 under10.0.19044.2006 Using Outlook 0
HarvMan Outlook 365 loses "outlook.com" exchange server settings Using Outlook 1
Z New minimum Outlook for Windows version requirements for Microsoft 365/Exchange Online Using Outlook.com accounts in Outlook 26
L Help connecting to hosted exchange server 2016 Using Outlook 0
O Exchange Sync period only (e.g. last years mail) Using Outlook 0
J Connect outlook to office365 exchange _without_ signing in office apps Using Outlook 4
J Importing N2K from a different Exchange Server Using Outlook 1
G Forward email body to other mail list directly from Exchange server Exchange Server Administration 1
D Do I need Exchange Add-In? Using Outlook 6
O Newbie question: how to sync two Outlook -Exchange and IMAP- calendars? Using Outlook 4
I Exchange 2019 - MICROSOFT-CORP-MSN-AS-BLOCK Exchange Server Administration 0
T Outlook 2010 How to Delete “Orphaned” TO DO? ( Not on Exchange Server) Using Outlook 6
M Outlook 2010 Outlook 2010 with O365 / Exchange Online Using Outlook 0
D Microsoft Exchange account - Remote management Using Outlook.com accounts in Outlook 1
C Transfer Autocomplete from Pop to Exchange Using Outlook 3
N Backing Up Exchange Calendar Using Outlook 13
A Ol16 desktopT suddenly can't connect with Exchange Using Outlook.com accounts in Outlook 5
T How can Exchange be configured to sync/push one-way so that the server data can't be affected Exchange Server Administration 0
E How to display "Change Folder" in Change Default Email Delivery Location in Exchange Outlook 2016 Using Outlook 1
J Outlook 2016 Moving IMAP emails to Exchange Using Outlook 1
O Outlook 365 Exchange .ost within Personal Vaul Using Outlook 0
D Outlook 2016 Migrate 'On My Computer' (local storage) Calendar from Mac Outlook to Exchange Account Using Outlook 5
A .restrict results changing after moving to Exchange online Outlook VBA and Custom Forms 0
D Can Exchange Admin Center create a pst for users email/contacts/calendar? Exchange Server Administration 0
S Messages moved / deleted by auto-archive are not synchronized to exchange Exchange Server Administration 8
llama_thumper Setting up forwarders on Exchange server Exchange Server Administration 0
D Importing Outlook Categories from another domain (Exchange 2016/Outlook 2016) Using Outlook 4
M WMI query for Get Disk IO performance in exchange Exchange Server Administration 0
B Outlook 2013/Exchange 2013 - Conf Rooms not fully booking "resolved conflict" meetings Using Outlook 3
D Adding Enterprise Exchange Email Account to Outlook Prevents Sending via Outlook.com Account Using Outlook.com accounts in Outlook 10
O Benefits of Exchange over IMAP and why would I choose Exchange? Using Outlook 2
F Delete/create/reset Exchange mailbox on Outlook.com Using Outlook.com accounts in Outlook 3
A Prevent connection to Public Folders on Exchange? Exchange Server Administration 3
S Add Exchange Account as Secondary to Existing PST? Exchange Server Administration 1
S Adding new Exchange (2016) rule very slow down Microsoft Outlook Exchange Server Administration 0
CWM030 A quick question for Diane about Exchange Exchange Server Administration 2
G How to have domain client use owa server instead of exchange server while connect to network Using Outlook 1
J Outlook 2016 message content does not display - outlook.com; exchange Using Outlook.com accounts in Outlook 9
C Filter/Search emails sent to internal Exchange address only Using Outlook 2
B Copy/Move Exchange inbox to Pop inbox Using Outlook 4
Fozzie Bear Correct Method to set up Outlook.com accounts as Exchange Using Outlook.com accounts in Outlook 7
P AutoArchive exchange folder to exchange folder Using Outlook 1
J Syncing notes between Outlook 2016/Exchange and Outlook for Android Using Outlook 2
Brian Murphy Exchange Online Everything a Transport Rule should do and cannot Exchange Server Administration 1
E Customer wants a portion of GAL from exchange to sync down to Android contacts via Activesync Using Outlook 2
R Problem with searching public folders Exchange 2013/16 Exchange Server Administration 2
I outlook 2016 manual exchange config Using Outlook 0

Similar threads

Top