?
Solved

Delete Folder using Powershell from User Mailbox Exchange 2010

Posted on 2014-03-13
3
Medium Priority
?
9,981 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 1000 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 1000 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

Office 365 Training for Admins - 7 Day Trial

Learn how to provision tenants, synchronize on-premise Active Directory, implement Single Sign-On, customize Office deployment, and protect your organization with eDiscovery and DLP policies.  Only from Platform Scholar.

Question has a verified solution.

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

This article explains how to install and use the NTBackup utility that comes with Windows Server.
This article will help to fix the below errors for MS Exchange Server 2013 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 video we show how to create a Shared Mailbox 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 Recipients >> Sha…
how to add IIS SMTP to handle application/Scanner relays into office 365.
Suggested Courses
Course of the Month12 days, 15 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