PowerShell Automation from .Net

Even though this blog has numerous PowerShell scripts showing mainly how to use EWS from PowerShell, scripting isn’t actually something my team supports (Exchange scripting support is provided by the Exchange team).  What we do support, though, is automation of PowerShell from .Net. We’ve had a couple of cases on this recently, and it seems that it…

2

Transport Agent: Remove extra prefixes from email subject

If you regularly send email internationally, you may notice an issue that crops up in email conversations between two locales where the “Re.” prefix differs.  Basically, each time the message is replied to, another Re. (or Aw., Antwort, etc.) is tagged on to the beginning of the Subject.  This is more noticeable when an email…


GetContactPictureAttachment, SetContactPicture and Exchange 2007

The EWS methods GetContactPictureAttachment and SetContactPicture are not available in Exchange 2007, so how do you programmatically access a contact’s picture? Fortunately, Exchange 2007 still supports CDO.  While is it de-emphasized, this simply means that while it is recommended to use EWS where possible, sometimes it may not be and so CDO is available for…