How do I empty custom Outlook folders with PowerShell? - TechRepublic
Question
March 7, 2011 at 07:07 AM
Jctech2025

How do I empty custom Outlook folders with PowerShell?

by Jctech2025 . Updated 15 years, 3 months ago

Anyone know how I can get PowerShell to look at a folder I created in Outlook and delete the contents. These two links shows how to delete the junk mail folder also the numerical values assigned to Default folders. The scripts works but I want to be able to select a folder I create. Any ideas………? Thanks.

http://gallery.technet.microsoft.com/scriptcenter/9a1e371a-ec48-4985-8665-8af330098c07
http://msdn.microsoft.com/en-us/library/bb208072(v=office.12).aspx

This discussion is locked

All Comments