Exchange – Delete Meeting from Multiple Calendars

Written by Allen White on. Posted in Exchange 2013, Exchange 2016

If you have a meeting that has been sent to many calendars across your organization but are not a delegate of those calendars then it can be a pain to successfully remove the meeting from multiple Exchange mailboxes.

With the command below in Exchange Powershell we remove a meeting from every calendar in your exchange organisation.

Get-Mailbox -ResultSize unlimited | Search-Mailbox -SearchQuery 'kind:meetings and Subject:"calendar meeting subject line" and Received:>"1/6/2016" and Received:<"14/6/2016" and Sent:>"1/1/2015" and Sent:<"12/1/2015"' -Deletecontent

In the example above we delete all calendar entries with the subject title of “calendar meeting subject line” – change that to your subject, we also specify that only remove the meetings that where arranged between particular dates.

This was tested in Exchange 2013 and 2016, if it works on previous versions then please comment below. Note: There is a limit 10000 mailboxes for this command. If you have to search through more mailboxes than this then you will need to use the new search compliance command in Exchange 2016.

New-ComplianceSearch -Name "RemoveCalendar1" -ExchangeLocation All -ContentMatchQuery "'calendar meeting subject line'"
 
Allen White
at
Allen is a Consultant for ITPS in the North East of England and holds the following accreditations. MCSA, MCSE, MCTS, MCITP, CCA, CCSP, VCP 4,5 and HP ASE, AIS - Network Infrastructure.

ITPS provides strategic IT consultancy, implementation, data centre provision and unified communications, as well as support services and workspace and disaster recovery. If you require a consultation then please contact me via the contacts section or direct on 07931222991, add me on linkedin. https://uk.linkedin.com/in/allenwhiteconsultant0001

Tags:

Leave a comment

Categories

(c) Techieshelp.com. Please be aware, all information is provided freely, any information used is done so at your risk and Techieshelp will not be held responsible for any issue that may occur.
!-- BuySellAds On-Site Shopping Cart -->