In this post we are going to look at the deletion of reoccurring meetings in Exchange, using PowerShell. In addition to addressing a common issue.
Firstly Check you are using/typing the PowerShell command correctly
In the instance where a person is looking to remove a recurring meeting from an Exchange mailbox with the use of PowerShell. He/She can firstly utilize the Search-Mailbox command, whilst also using the -searchquery switch, to firstly identify the particular calendar event and then proceed to either move, copy or delete said meeting.
To specify the date range, you can separate your dates by “..”
Additionally you can also specify the time.
The following ISO 8601-compatible datetime formats are supported in queries:
An example command would look something like this –
Search-Mailbox -identity “finance1“ –SearchQuery kind:meetings AND subject:Test (Recurring) AND Received:”2017/10/08 10:00:00..2017/12/08 13:00:00“
In the event where the command is seemingly going through without error, but the meeting persists –
First try making the received date range as long or longer than the recurring meeting.
For example, if the meeting is from 01/01/2018 to 01/02/2018, we need to set the shortest data range as 01/01/2018 to 01/02/2018. Or alternatively set the date range to a month later 01/01/2018 to 01/03/2018
Search-Mailbox -identity “Recruitment“ –SearchQuery kind:meetings AND subject:DailyMeeting (Recurring) AND Received:”2018/01/01 10:00:00..2018/03/01 13:00:00“
Additionally if all else fails, you can always go with the less refined option of removing the date/time section of the command.