PowerShell: Batch moving/merging mailboxes

The Merge-MailboxFolder script is very powerful in that it can move data between mailboxes (even entire mailboxes, if desired).  It can also be used to process lots of mailboxes at once.  This blog post is going to run through in detail the procedure to move all items from the archive mailbox into the main mailbox…


Outlook add-in sample – implementing additional controls for capturing meeting notes

I’ve written a VSTO add-in sample that implements a form region with a rich text control that allows capturing rich text notes and additional information for appointments and meetings. How it works The add-in implements the form region displayed in the screenshot below for compose-mode meetings. Upon saving the appointment or meeting invite the content…

0

MAPI Utility to add Ldap Address Books to existing Outlook profiles

Current version: 1.0.0.4   I’ve had quite a few requests recently for a tool that can configure Ldap (Internet) Address Books in existing Outlook profiles. Since I don’t know of any tool to do this except for the good ole PRF import, I’ve decided to write some code for posterity. Unlike the PRF import, this…

5

PowerShell: Remove meetings that may cause problem with ActiveSync Devices

It’s again time to talk about ActiveSync. It seems rather frequent that users, most often VIP, ends up missing a meeting because one or more did not synchronize (or rather the handset did not handle the data correctly). Mainly, this comes down to few common user error: The meeting is a recurring meeting with no…


PowerShell: Remove outdated ActiveSync Devices

Howdy Exchange Administrators! How often have you had to undertake the task of cleaning stale device from user mailboxes and how often did you need to go and manually delete the AirSync-* folders via either MFCMAPI or EWSEditor? Probably many. As some administrators (legitimately) like to keep the mailboxes tidy or they might have a business/process…


Transport Agent: Rewriting Sender or Recipient Domain

Lately I’ve been working on few Transport Agents which I feel maybe handy to share. While the logic adopted is very simple, the sample showcase how to inspect and modify entries in the P1 and P2 headers.   The requirement was for 2 separate agents one rewriting the sender domain and one rewriting the recipient…

0

PowerShell: Apply Retention Policies or Auto-Archive Settings to Inbox sub-folders

This week I’ve been spending some time in reviewing how Exchange Retention Policies and Outlook Auto-Archive setting are stored in a user mailbox.   If you’re wondering whether to start using Outlook Auto-Archive or the Exchange Retention policy I would like to call out some differences.   How important is enterprise data? If the answer to this…

0

MapiHTTP and Autodiscover – How to open shared mailboxes in a MAPI application

Opening shared mailboxes in a MAPI application has been an easy thing in the past. Simply query the primary mailbox for the IID_IExchangeManageStore interface and create an EntryID for the shared mailbox by calling CreateStoreEntryID. This is a V2 Exchange Store Entry ID, as outlined here: https://msdn.microsoft.com/en-us/library/ee203516(EXCHG.80).aspx https://blogs.msdn.microsoft.com/stephen_griffin/2011/07/21/store-entry-id-v2/ Here’s a simple code snippet on how…

3

Transport Agent: Handle email address tagging

With email being the preferred way to receive notifications, it may happen to all of us to receive emails that are not extremely relevant or which do not require immediate attention.   This, as example, can be consists of Forums or other services notifications. Some e-mail providers offer the possibility to use a technique called…

0

Sample Outlook add-in showing Outlook events

Outlook has a fairly comprehensive event system.  In fact, there are so many events that sometimes it may not be obvious what events will fire when. Attached here you will find a sample add-in that can show you many of the events generated by an Inspector, Explorer, and a Folder.  When monitoring a folder, you…