?
Solved

Granting permissions to outlook calendars

Posted on 2011-10-12
2
Medium Priority
?
449 Views
Last Modified: 2012-05-12
I am trying to grant a scurity group on the network access to everyones calendars so they can write appointments directly to the other users calendars.  Will the code below perform that function for me?  Is there a better way to do it?

$users = Get-mailbox
$users | ForEach-Object {
Set-MailboxFolderPermission $_":\Calendar" -User Default -AccessRights AvailabilityOnly
Remove-MailboxFolderPermission $_":\Calendar" -User "MYDOMAIN\MYGROUP" -Confirm:$False
Add-MailboxFolderPermission $_":\Calendar" -User "MYDOMAIN\MYGROUP" -AccessRights Reviewer
}

0
Comment
Question by:hamel01
2 Comments
 
LVL 24

Accepted Solution

by:
Rajith Enchiparambil earned 2000 total points
ID: 36955268
Script looks ok.

Why are you removing the "MYDOMAIN\MYGROUP" and adding it again?
0
 
LVL 1

Author Comment

by:hamel01
ID: 36955279
Not sure.  This is a script that I found.  Couldn't really figure out why it was being removed and added.
0

Featured Post

Has Powershell sent you back into the Stone Age?

If managing Active Directory using Windows Powershell® is making you feel like you stepped back in time, you are not alone.  For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this post, I will showcase the steps for how to create groups in Office 365. Office 365 groups allow for ease of flexibility and collaboration between staff members.
MS Outlook undoubtedly is the most widely used email client.Its user-friendliness, cost effectiveness, and availability with Microsoft Office Suite make it the most popular email application.  Its compatibility with Microsoft applications like Exch…
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…
This is my first video review of Microsoft Bookings, I will be doing a part two with a bit more information, but wanted to get this out to you folks.
Suggested Courses
Course of the Month14 days, 21 hours left to enroll

840 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