Manage Exchange 2010 Calendar Permissions Using Powershell
February 22, 2011Publishing OWA using Forefront TMG server
February 28, 2011The first thing you will want to do is create and active directory security group. In my example I create one named “calendartest”. Now I’m going to add all the users who need to have their calendar shared with a distribution group of users to this group that I’ve created.
Now open adsiedit.msc so you can find the location of the group in active directory. You are going to need this. In my example it is “CN=calendartest,OU=MyUsers,DC=TestDomain,DC=local”.
Finally open powershell and simply run these two commands:
$calendartest = Get-mailbox –Filter {(MemberOfGroup -eq “CN=calendartest,OU=MyUsers,DC=TestDomain,DC=local”)}
$calendartest | ForEach-Object {Add-MailboxFolderPermission $_”:Calendar” –User AllMySalesUsers@MyDomain.com –AccessRights Reviewer}