Question Locked

How do I empty custom Outlook folders with PowerShell?

0 helpful
2 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

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

2 replies

This discussion is closed to new replies.