Solved

Delete Folder using Powershell from User Mailbox Exchange 2010

Posted on 2014-03-13
3
9,503 Views
Last Modified: 2014-03-17
My archive software creates a folder within each of our user's mailbox.  I want to be able to delete this folder that has the specific name "MailboxArchive" at the Exchange level.  Is there a way to accomplish this using PowerShell?  Something like, if mailbox contains folder called MailboxArchive, then delete.

Thanks.
0
Comment
Question by:fireguy1125
[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
3 Comments
 
LVL 4

Accepted Solution

by:
Jason Ryberg earned 250 total points
ID: 39926429
Based on my searches, there's no built-in cmdlet in Exchange 2010 for deleting FOLDERS from user's mailboxes.  Deleting emails? Sure.  But not folders.

In order to delete folders, you'll have to import the Exchange web services API and call it from PowerShell, as detailed in this technet forum.
0
 
LVL 4

Assisted Solution

by:michaelalphi
michaelalphi earned 250 total points
ID: 39928524
Not sure and have not tested ever but you can check this script available at here: Cleaning out the empty folder with EWS
0
 
LVL 1

Author Closing Comment

by:fireguy1125
ID: 39935566
Thanks
0

Featured Post

Free eBook: Backup on AWS

Everything you need to know about backup and disaster recovery with AWS, for FREE!

Question has a verified solution.

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

This article explains in simple steps how to renew expiring Exchange Server Internal Transport Certificate.
This article explains how to install and use the NTBackup utility that comes with Windows Server.
In this video we show how to create a Resource Mailbox in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: Navigate to the Recipients >> Resources tab.: "Recipients" is our default selection …
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

690 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