Category Archives: Outlook

Outlook folder item count revisited

I started this series http://msmvps.com/blogs/richardsiddaway/archive/2011/07/30/outlook-connector-amp-mail-folder-item-count.aspx by looking at how we could enumerate the mail folders in Outlook 2010 when I had had four hotmail accounts open.  The function has been modified since then function get-mailitemcount { param ( [parameter(ParameterSetName="All")] [switch]$all, … Continue reading

Posted in Office 2010, Outlook, PowerShell V2, Windows 7 | Leave a comment

Emptying the Deleted folders–version 2

The original version of this function only did one pass at deleting and had to iterate through all of the folders to find the Deleted Items folder.  This time we use the collection of folders we created using the get-mailfolders … Continue reading

Posted in Office 2010, Outlook, PowerShell V2, Windows 7 | Leave a comment

Outlook folders

The functions we’ve seen so far have involved iterating through the whole set of Outlook folders. That’s a lot of folders (I have 4 email accounts with lost of folders). The trick is to do this just once and then … Continue reading

Posted in Office 2010, Outlook, PowerShell V2, Windows 7 | Leave a comment

Emptying the Deleted Items Folder

Continuing our look at scripting against Outlook & the hotmail connector Many of the emails I get end up being read once and deleted. This leaves a ton of stuff in the deleted items folders. Periodically I’ll clean these up. … Continue reading

Posted in Office 2010, Outlook, PowerShell V2, Windows 7 | Leave a comment