Forum Discussion
piroyuuuki
Mar 06, 2021Copper Contributor
How to remove cancel schedule from calendar automatically
Please tell me how to remove cancel schedule from calendar automatically.
I want to program the following script by ExchangePowerShell.
When schedule is cancelled , then execute the following code
Remove-CalendarEvents
[-Identity] <MailboxIdParameter>
[-CancelOrganizedMeetings]
- MDadarkarBrass ContributorHi,
Please execute the below commands
Microsoft has some kind of limitations in Remove-CalendarEvents command
Please follow the below steps to delete unwanted Appointments
Open Powershell with Admin and run the below commands
Add-PSSnapin Microsoft.Exchange.Management.PowerShell.SnapIn;
Search-Mailbox -identity “MailboxAlias” -SearchQuery subject:”Name of the Meeting” -DeleteContent
Thank you,
Regards,
MD