Remove calendar event when user no longer exists.

Posted on 2011-10-27
Last Modified: 2012-06-21
Here is the scenario: We had a user that created a calendar event that was sent out to others in his dept. The user has since left the company and his user was deleted. I have a request to remove the calendar event he created. I do not know who or how many others were sent this calendar event.

I tried this powershell string but it did not work:

Get-Mailbox | Export-Mailbox -SenderKeywords "Username" -SubjectKeywords "enter keywords here" -IncludeFolders "\Calendar" -DeleteContent

Open in new window

We are running Exchange 2007.
Question by:Aaron_Gruber
    LVL 6

    Expert Comment

    Do you have full access permsions on every mailbox?

    Author Comment

    I have tried with the domain administrator account and running the Exchange Management Shell with admin rights.

    Author Comment

    Also, the mailbox of the event creator no longer exists.
    LVL 7

    Accepted Solution

    You have to open the calendar account mailbox and check each delegates have permission and have to remove one by one.

    Author Comment

    How can that be done when the creators mailbox was deleted?

    Author Closing Comment

    REcreated the users account and deleted it.

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Hire Top Freelancers to Complete Exchange Projects

    Source the talented Expert Exchange community
    for top quality work on your Exchange projects.

    Hire the best. Collaborate easily. Get quality work.

    New Windows 7 Installations take days for Windows-Updates to show up and install. This can easily be fixed. I have finally decided to write an article because this seems to get asked several times a day lately. This Article and the Links apply to…
    Check out this infographic on what you need to make a good email signature that will work perfectly for your organization.
    This tutorial will give a short introduction and overview of Backup Exec 2014 and the additional features that have been added over its predecessor Backup Exec 2012. As with Backup Exec 2012, the Backup Exec button in the upper left corner. From her…
    This tutorial will walk an individual through setting the global and backup job media overwrite and protection periods in Backup Exec 2012. Log onto the Backup Exec Central Administration Server. Examine the services. If all or most of them are stop…

    759 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    13 Experts available now in Live!

    Get 1:1 Help Now