Exchange 2013 - how to add or remove mailbox folder permissions including subfolders

Scotch Tech
Scotch Tech used Ask the Experts™
on
How can I add or remove mailbox folder permission including their subfolders?
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
There's a script from this link
https://practical365.com/exchange-server/powershell-script-remove-permissions-exchange-mailbox/
that will do both by changing the cmdlet to either Add-MailboxFolderPermission or Remove-MailboxFolderPermission but it is not granular meaning you don't have control over specific folders. It's an all or nothing script.

Baiscaly though:

Add(Remove)-MailboxFolderPermission email@address.com:\folder\subfolder -User "User Name" -AccessRights Owner(or whatever right you want to give)

Below are the roles you can give:
None: FolderVisible
Owner: CreateItems, ReadItems, CreateSubfolders, FolderOwner, FolderContact, FolderVisible, EditOwnedItems, EditAllItems, DeleteOwnedItems, DeleteAllItems
PublishingEditor: CreateItems, ReadItems, CreateSubfolders, FolderVisible, EditOwnedItems, EditAllItems, DeleteOwnedItems, DeleteAllItems
Editor: CreateItems, ReadItems, FolderVisible, EditOwnedItems, EditAllItems, DeleteOwnedItems, DeleteAllItems
PublishingAuthor: CreateItems, ReadItems, CreateSubfolders, FolderVisible, EditOwnedItems, DeleteOwnedItems
Author: CreateItems, ReadItems, FolderVisible, EditOwnedItems, DeleteOwnedItems
NonEditingAuthor: CreateItems, ReadItems, FolderVisible
Reviewer: ReadItems, FolderVisible
Contributor: CreateItems, FolderVisible

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial