Hello!
I have script I created to set mailbox permissions but it is not changing the access rights or calendar processing. I would like another pair of eyes to see what i am doing wrong?
$Rooms = 'test room' $User = 'Default' $s = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri HTTPS://EXCHANGE/POWERSHELL -Authentication Kerberos Import-PSSession $s -AllowClobber ForEach ($Room in $Rooms){ Set-MailboxFolderPermission -Identity "$Room$(':\calendar')" -User $User -AccessRights LimitedDetails | Set-CalendarProcessing -Identity "$Room$(':\calendar')" -DeleteSubject $false -AddOrganizerToSubject $false }
Any help would be appreciated! Thanks!