How to Delete Old Emails in MS Exchange Using EWS


I work within a corporate environment that manages its own Microsoft Exchange Server. I am also on a development team and receive thousands of automated email messages per day from various services that run across multiple servers. I started out creating rules for these emails in MS Outlook that sorted them into folders based on the service that generated them. I would go in once a day and clean out the folders. This is a bit tedious. Additionally, I want to keep emails that are within the last day in case something goes wrong with that service and I need to reference an email that was generated. Even more tedious.

Next I thought to myself, “Why don’t I use the built-in Outlook Archive method?” That would be a great option, but my company manages our archive policies, meaning I cannot modify them.

Finally, having all other avenues closed to me, I decided to write my own utility to perform this task. I am, after all, a Software Engineer.

Read moreHow to Delete Old Emails in MS Exchange Using EWS

How to Create a Word to PDF Converter Script in Powershell

This is a little Powershell script that I came up with to convert a folder full of Word documents into PDF files. It takes a single command-line parameter, which is the directory containing the files that you wish to convert. It puts the PDF files in the same directory alongside the originals.

Read moreHow to Create a Word to PDF Converter Script in Powershell

Hey Microsoft, Where Are My Keyboard Shortcuts!?

I recently upgraded to Microsoft Office 2010. I really like the way the design team is going on their newer versions. It is really sleek and nice feeling, but I’ve noticed something missing… my keyboard shortcuts! I’m a Linux guy at heart (I install cygwin on every Windows machine I own and/or use) so performing …

Read moreHey Microsoft, Where Are My Keyboard Shortcuts!? – Microsoft’s New Search Engine

Have you “binged” anything lately? If not, then don’t sweat it. Microsoft just release a new search engine called Bing, which you may or may not have heard about yet. Really? Another search engine? I thought was their SE of choice. Well, if you go to now it actually points to So …

Read – Microsoft’s New Search Engine

Revolution OS – The Linux Story

Revolution OS is a 2001 documentary which traces the history of GNU, Linux, and the open source and free software movements. It features several interviews with prominent hackers and entrepreneurs (and hackers-cum-entrepreneurs), including Richard Stallman, Michael Tiemann, Linus Torvalds, Larry Augustin, Eric S. Raymond, Bruce Perens, Frank Hecker and Brian Behlendorf. The film begins in …

Read moreRevolution OS – The Linux Story

Just Say No! To The Microsoft Office Format As An ISO Standard

Did you know Microsoft is trying to get their proprietary Office format passed as an ISO standard? Neither did I until I ran across this. Below are reasons that this should NOT be accepted as a standard. There is also a link where you can go and sign the petition… do the right thing! I …

Read moreJust Say No! To The Microsoft Office Format As An ISO Standard

Microsoft Offering AdWare, What?

It appears that the software and operating system giant, Microsoft will be offering it’s next version of Microsoft Works as a free ad-supported software suite. For the time being, however, the new version of Works will be ad-funded, according to Satya Nadella, the newly minted Corporate Vice President of Microsoft’s Search & Advertising Platform Group. …

Read moreMicrosoft Offering AdWare, What?