Velocity Technical Archive
Use Powershell in Exchange 2010 to give a distribution group permissions to a security group's member's calendars'
Archived Reference: This is a historical technical article preserved from the Velocity Technologies knowledge base. For current Phoenix and East Valley managed IT services, explore our managed IT services or cybersecurity solutions.
The 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. \nNow 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".\nFinally open powershell and simply run these two commands:\n$calendartest = Get-mailbox –Filter {(MemberOfGroup -eq "CN=calendartest,OU=MyUsers,DC=TestDomain,DC=local")}\n$calendartest | ForEach-Object {Add-MailboxFolderPermission $_”:Calendar” –User [email protected] –AccessRights Reviewer}