Forum Discussion
DaveW
Oct 02, 2023Copper Contributor
Set-CalendarProcessing - BookInPolicy Query
Hi All,
I've found when running this cmdlet:
Set-CalendarProcessing -Identity <Room Name> -BookInPolicy ((Get-CalendarProcessing <ROOM NAME).BookInPolicy + ($User))
it modifies the Default User Access Rights from "Limited Details" to "None" Easily fixed but a pain none the less. While researching the issue I came across this handy bit of code. I was wondering if each time I update the Distribution Group do I then need to run the calendar processing cmdlet again? ( Taken from here: https://learn.microsoft.com/en-us/powershell/module/exchange/set-calendarprocessing?view=exchange-ps )
$group = New-DistributionGroup "Room 221 Booking Allowed"
Update-DistributionGroupMember -Identity $group.Identity -Members email address removed for privacy reasons,email address removed for privacy reasons -BypassSecurityGroupManagerCheck:$true
Set-CalendarProcessing -Identity "Room 221" -AutomateProcessing AutoAccept -BookInPolicy $group.Identity -AllBookInPolicy $false
Thanx
Dave
- No, it should reflect the updated membership of the DG. Keep in mind that the Update-DistributionGroupMember cmdlet *overwrites* the group membership, you might want to use Add-DistributionGroupMember instead.
2 Replies
Sort By
- No, it should reflect the updated membership of the DG. Keep in mind that the Update-DistributionGroupMember cmdlet *overwrites* the group membership, you might want to use Add-DistributionGroupMember instead.
- DaveWCopper Contributor
VasilMichev Thanx for the response. I thought as much but just wanted to be 100%!