Home -- Exchange Server 2003 -- How to - Delete Calendar Item of Exited User

Your Vote

Which is Better ?
 

Lets Learn

Featured

Down Time Activity

 
How to - Delete Calendar Item of Exited User Print E-mail
User Rating: / 0
PoorBest 
Exchange Server - Exchange 2003
Written by Shailesh Nariani   
Saturday, 23 January 2010 13:00

How to - Delete Calendar Item of Exited User

I had this typical issue wherein a user who was no more with the Organization had left without canceling his meetings. Below are the details of the issue

Description:
========

User A sent a meeting request to 20-30 other users, reoccuring once every month. Later User A left the Organization and did not cancel the meeting. The user account was deleted, but the mailbox was still available, even after reconnecting the mailbox, this meeting request was invisible in Calendar, Deleted Items, Inbox, etc...

Cause:
====

There can be numerous reasons why this meeting request was unavailable, one of the possible reason was to delete the meeting request without cancelling the meeting

Resolution:
=======

Ran the powershell to delete the calendar item with specific keywords in the subject and from a specific sender from any Calendar in the Organization. Below is the script:

Get-Mailbox | Export-Mailbox -SenderKeywords <sendermailnickname> -SubjectKeywords "enter keywords here" -IncludeFolders "\Calendar" -DeleteContent

The above command will search every mailbox in the Organization and delete the meeting request meeting both the conditions mentioned

If you want to delete the meeting request from a particular users' calendar, you can use:

Get-Mailbox | Export-Mailbox -Identity <users' mailnickname> -SenderKeywords <sendermailnickname> -SubjectKeywords "enter keywords here" -IncludeFolders "\Calendar" -DeleteContent

If you want to test if the rules are matching the required criteria before deleting, you can export the item to another test mailbox, using:

Get-Mailbox | Export-Mailbox -Identity <users' mailnickname> -TargetMailbox <testmailbox> -SenderKeywords <sendermailnickname> -SubjectKeywords "enter keywords here" -IncludeFolders "\Calendar"

You can also use -TargetFolder to export the information to a specific folder and the outcome will look like -
Comments
Search RSS
Only registered users can write comments!

3.26 Copyright (C) 2008 Compojoom.com / Copyright (C) 2007 Alain Georgette / Copyright (C) 2006 Frantisek Hliva. All rights reserved."

 

Our valuable member Shailesh Nariani has been with us since Friday, 22 January 2010.