We have a Sandy user, who wants to share her calendar with Patrick.
On a server, open Exchange Management Shell as administrator. Get the current list of user permissions for Sandy’s mailbox Calendar folder:
[PS]> Get-MailboxFolderPermission -Identity sandy@example.com:\Calendar RunspaceId : 38c2729f-0000-4c13-81bd-173103e349aa FolderName : Calendar User : Default AccessRights : {AvailabilityOnly} Identity : Default IsValid : True RunspaceId : 38c2729f-0000-4c13-81bd-173103e349aa FolderName : Calendar User : Anonymous AccessRights : {None} Identity : Anonymous IsValid : True
Assign permissions for Patrick to access Sandy’s Calendar mailbox folder and apply the Reviewer role to his access of that folder (see http://technet.microsoft.com/en-us/library/dd298062(v=exchg.150).aspx for other AccessRights parameters available):
[PS]> Add-MailboxFolderPermission -Identity sandy@example.com:\Calendar -User patrick@example.com -AccessRights Reviewer
RunspaceId : 38c2729f-0000-4c13-81bd-173103e349aa
FolderName : Calendar
User : Patrick Star
AccessRights : {Reviewer}
Identity : Patrick Star
IsValid : True
Get the current list of user permissions for Sandy’s mailbox Calendar folder again and verify that Patrick is present.
[PS]> Get-MailboxFolderPermission -Identity sandy@example.com:\Calendar
RunspaceId : 38c2729f-0000-4c13-81bd-173103e349aa
FolderName : Calendar
User : Default
AccessRights : {AvailabilityOnly}
Identity : Default
IsValid : True
RunspaceId : 38c2729f-0000-4c13-81bd-173103e349aa
FolderName : Calendar
User : Anonymous
AccessRights : {None}
Identity : Anonymous
IsValid : True
RunspaceId : 38c2729f-0000-4c13-81bd-173103e349aa
FolderName : Calendar
User : Patrick Star
AccessRights : {Reviewer}
Identity : Patrick Star
IsValid : True
When no longer needed, Patrick’s permission to modify Sandy’s mailbox folder Calendar can be removed by typing:
[PS]> Remove-MailboxFolderPermission -Identity sandy@example.com:\Calendar -User patrick@example.com