How to Use PowerShell to Remove Calendar Items from Exchange Online

%3CLINGO-SUB%20id%3D%22lingo-sub-1995957%22%20slang%3D%22en-US%22%3EHow%20to%20Use%20PowerShell%20to%20Remove%20Calendar%20Items%20from%20Exchange%20Online%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1995957%22%20slang%3D%22en-US%22%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EMicrosoft%20wants%20to%20retire%20the%20Search-Mailbox%20cmdlet%20from%20Exchange%20Online.%20But%20while%20the%20cmdlet%20available%2C%20it%20does%20a%20great%20job%20of%20removing%20mailbox%20items.%20If%20you%20get%20the%20search%20query%20right!%20In%20this%20example%2C%20we%20explain%20how%20to%20write%20a%20script%20to%20clear%20out%20calendar%20items%20from%20the%20mailboxes%20of%20multiple%20users.%3C%2FP%3E%0A%3CP%3E%3CA%20href%3D%22https%3A%2F%2Foffice365itpros.com%2F2020%2F12%2F17%2Fuse-powershell-remove-exchange-online-mailbox-items%2F%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Foffice365itpros.com%2F2020%2F12%2F17%2Fuse-powershell-remove-exchange-online-mailbox-items%2F%3C%2FA%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1995957%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EExchange%20Online%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E
MVP

 

Microsoft wants to retire the Search-Mailbox cmdlet from Exchange Online. But while the cmdlet available, it does a great job of removing mailbox items. If you get the search query right! In this example, we explain how to write a script to clear out calendar items from the mailboxes of multiple users.

https://office365itpros.com/2020/12/17/use-powershell-remove-exchange-online-mailbox-items/

0 Replies