Link to home
Start Free TrialLog in
Avatar of Aaron_Gruber
Aaron_Gruber

asked on

Remove calendar event when user no longer exists.

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.
Avatar of E_T_B
E_T_B
Flag of Afghanistan image

Do you have full access permsions on every mailbox?
Avatar of Aaron_Gruber
Aaron_Gruber

ASKER

I have tried with the domain administrator account and running the Exchange Management Shell with admin rights.
Also, the mailbox of the event creator no longer exists.
ASKER CERTIFIED SOLUTION
Avatar of Kamalasekar Parthasarathy
Kamalasekar Parthasarathy
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
How can that be done when the creators mailbox was deleted?
REcreated the users account and deleted it.