Getting back to looking at working with Outlook we can adapt the function used to deleted the contents of the Deleted Items folder to work with the Junk mail folders function clear-junkmail { $outlook = New-Object -ComObject Outlook.Application get-mailitemcount
Read More...
Read the complete post at http://msmvps.com/blogs/richardsiddaway/archive/2011/08/02/clearing-junk-mail.aspx
Posted
Aug 02 2011, 01:42 PM
by
Richard Siddaway's Blog