?
Solved

outlook

Posted on 2016-11-14
15
Medium Priority
?
84 Views
Last Modified: 2016-11-16
We need all meetings removed from all Outlook users were created by user who is no longer with the company.
0
Comment
Question by:pramod1
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 6
  • 4
  • 3
  • +1
15 Comments
 
LVL 70

Expert Comment

by:Qlemo
ID: 41887505
Do you use Exchange?
0
 

Author Comment

by:pramod1
ID: 41887879
yes exchange 2007
0
 
LVL 70

Expert Comment

by:Qlemo
ID: 41888497
With MSX 2007 you would need to connect to each Outlook session to do so. No, you can't do that with reasonable effort, AFAIK. But I will add more topics to reach out to more Experts to either confirm or disprove.
0
Is Your AD Toolbox Looking More Like a Toybox?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

 
LVL 44

Expert Comment

by:Amit
ID: 41888515
It can be done via using PS command. In 2007 you can use export command to delete the content. Read this
https://blogs.technet.microsoft.com/exchange/2010/10/27/removing-specific-messages-from-your-exchange-server/

In 2010, you can use search mailbox PS command let. Which also do same job.

Note: Don't give vague search query, when doing bulk deletion. Use date, from and subject, pipe it to target mailbox. So you can recover them later. In case you deleted wrong email. Also, remember there is a risk involved in bulk deletion. If you pipe wrong command.
0
 

Author Comment

by:pramod1
ID: 41888519
so which command should I use if for ex. I want to remove meetings of let us say user abc@domain.com from all outlook users
0
 
LVL 70

Expert Comment

by:Qlemo
ID: 41888552
With Export-Mailbox you have no way to restrict to meetings only. You would have to provide subjects identifying the items exactly.
0
 
LVL 18

Expert Comment

by:Karen Falandays
ID: 41888563
Hi Pramod1,
I might be oversimplifying, but why not log in as ex-user, view calendar in List view, and delete all meetings. It will send cancellations to all invitees.
kfalandays
0
 

Author Comment

by:pramod1
ID: 41888591
cant I use below command

Get-Mailbox | Export-Mailbox -SenderKeywords “user@domain.com” -IncludeFolders “\Calendar” –DeleteContent
0
 
LVL 44

Accepted Solution

by:
Amit earned 2000 total points
ID: 41888601
Use this one:

get-content c:\temp\list.txt | Get-Mailbox | Export-Mailbox -TargetMailbox TesttMailbox -TargetFolder Test  -SenderKeywords “user@domain.com” -IncludeFolders “\Calendar” –DeleteContent

in the txt, you give some test user and review the result. Review the result in testmailbox. If positive you can move forward with rest.
0
 

Author Comment

by:pramod1
ID: 41888641
it prompts in between dcforest\admin seems to be corrupted, i have stopped running,
0
 
LVL 44

Expert Comment

by:Amit
ID: 41888658
Test on some other user. I gave you the idea, how to do it. Just do testing.
0
 

Author Comment

by:pramod1
ID: 41888677
Get-Mailbox | Export-Mailbox -TargetMailbox TesttMailbox -TargetFolder Test  -SenderKeywords “user@domain.com” -IncludeFolders “\Calendar” –DeleteContent - get-content c:\temp\list.txt

it says list.txt doesn't exist
0
 
LVL 44

Expert Comment

by:Amit
ID: 41888682
Please create a text  file with name list.txt. Path you can decide. In this file, you give user samaccount name. Then run the command.
0
 

Author Comment

by:pramod1
ID: 41888706
it runs but then gives the error : database is mandatory for user mailbox, dc forest\admin is in inconsistent state
0

Featured Post

NFR key for Veeam Agent for Linux

Veeam is happy to provide a free NFR license for one year.  It allows for the non‑production use and valid for five workstations and two servers. Veeam Agent for Linux is a simple backup tool for your Linux installations, both on‑premises and in the public cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this article I discuss my selections of the Top Four free Outlook OST File Viewers available. Open, view and read even damaged OST files by using these tools. They all provide a clear preview of all data such as emails, notes, tasks, calendars, e…
A couple of months ago we ran into an issue that necessitated re-creating our Edge Subscriptions. However, when we attempted to execute the command: New-EdgeSubscription -filename C:\NewEdgeSub_01.xml we received an error indicating that the LDAP se…
In this video we show how to create a mailbox database in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: First we need to log into the Exchange Admin Center. Navigate to the Servers >> Data…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…
Suggested Courses
Course of the Month13 days, 4 hours left to enroll

777 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