Set-MailboxFolderPermission Exceptions

Posted on 2015-01-30
Medium Priority
Last Modified: 2015-09-24
Hi All,

I use the following script to change all the Exchange 2013 user their calendar rights to Reviewer:

Get-Mailbox | foreach{ Set-MailboxFolderPermission $($_.UserPrincipalName+":\calendar") -User default -AccessRights  Reviewer }

Open in new window

But I need to exclude the mailboxes for the top level users (managers) in our company.
Now I looked in to the man page (get-help) of the set-mailboxfolderpermission but nothing about exceptions.

Can anyone point me in the right direction?
Question by:Edan-Sphinx
1 Comment
LVL 53

Accepted Solution

Will Szymkowski earned 2000 total points
ID: 40580226
So you need to completely exclude the mailboxes that are Managers in your environment? Are there any attributes that are referenced on there AD or Exchange Account so that you can filter this based on your script? If this is the case i can assists.


Featured Post

Get your problem seen by more experts

Be seen. Boost your question’s priority for more expert views and faster solutions

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.

Join & Write a Comment

I am posting this in case anyone runs into similar issues that I did, this may save you a lot of grief: Condition: 1. Your NetBIOS domain name contains an ampersand " & " character.  (e.g. AT&T) 2. You've tried to run any Microsoft installation…
You have missed a phone call. The number looks like it belongs to the bunch of numbers which your company uses. How to find out who has just called you?
This video discusses moving either the default database or any database to a new volume.
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…

624 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question