locked
Powershell comand to share calendar -- no matter the language used RRS feed

  • Question

  • I now need to review and reset the calendar permissions so that every user has Reviewer permissions. 

    I have several users that are not using the English (US) names for there folders.

    Can someone help?


    • Edited by Fedres Wednesday, October 3, 2018 2:20 PM
    Wednesday, October 3, 2018 2:08 PM

All replies

  • function Get-MailboxCalendarName {
        param(
            [string]$Identity
        )
        $FolderName = Get-MailboxFolderStatistics -Identity $Identity -FolderScope Calendar | 
            Where-Object FolderType -eq 'Calendar' |
            Select-Object -First 1 -ExpandProperty Name
        $CalendarName = '{0}:\{1}' -f $Identity, $FolderName
        return $CalendarName
    }
    
    $Calendar = Get-MailboxCalendarName -Identity $Identity
    Set-MailboxFolderPermission -Identity $Calendar -User Default -AccessRights Reviewer

    Wednesday, October 3, 2018 4:34 PM
  • Hi,

    Was your issue resolved?

    If you resolved it using our solution, please "mark it as answer" to help other community members find the helpful reply quickly.

    Best Regards,

    Lee


    Just do it.

    Friday, October 26, 2018 8:41 AM
  • Hi,

    As this thread has been quiet for a while, we will mark it as ‘Answered’ as the information provided should be helpful. If you need further help, please feel free to reply this post directly so we will be notified to follow it up. You can also choose to unmark the answer as you wish.

    Best Regards,

    Lee


    Just do it.

    Monday, November 5, 2018 9:21 AM