[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now


Powershell to delete Calendar attachment only

Posted on 2012-08-28
Medium Priority
Last Modified: 2013-09-17

Is there an option to delete ONLY attachments in Calendar items. I'm using Exchange 2007. Export-Mailbox -Includefolder \calendar -DeleteContents will delete the calendar items but if I like to delete to attachments, it is possible?
Question by:suriyaehnop
LVL 52

Assisted Solution

by:Manpreet SIngh Khatra
Manpreet SIngh Khatra earned 600 total points
ID: 38344123
I dont think there is any shell that will delete attachments in a calendar :(

- Rancy
LVL 18

Accepted Solution

Sushil Sonawane earned 600 total points
ID: 38344177
Calender and attachment store on the database so that i don't think option to delete ONLY attachments in Calendar items. You can able to delete hole calender item but not a single of component of that content.

Expert Comment

ID: 39500935
I came her too look for a vbs script that I once used to delete calendar attachments only from outlook. Still looking and i know its somewhere.

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

In this post, I will showcase the steps for how to create groups in Office 365. Office 365 groups allow for ease of flexibility and collaboration between staff members.
This article will help to fix the below errors for MS Exchange Server 2016 I. Certificate error "name on the security certificate is invalid or does not match the name of the site" II. Out of Office not working III. Make Internal URLs and Externa…
In this Micro Video tutorial you will learn the basics about Database Availability Groups and How to configure one using a live Exchange Server Environment. The video tutorial explains the basics of the Exchange server Database Availability grou…
The video tutorial explains the basics of the Exchange server Database Availability groups. The components of this video include: 1. Automatic Failover 2. Failover Clustering 3. Active Manager
Suggested Courses

873 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