PowerShell: Clean Mailbox Delegates (update)

I wrote a script a while ago that can remove invalid delegates from a mailbox using a mixture of EWS and Exchange PowerShell.  The limitation of the original script is that is didn’t do anything about the hidden rules that forward messages to delegates, which means that the unexpected NDR issue (as described here) would…

2

PowerShell: Clean mailbox delegates

An updated version of this script (that also handles the hidden forwarding rule) is available here:http://blogs.msdn.com/b/emeamsgdev/archive/2014/05/16/powershell-clean-mailbox-delegates-update.aspx Granting delegate access to a mailbox stores the permission on the mailbox to which the permission is granted.  But what happens when a user is deleted?  The simple answer is nothing – deleting a user (or other AD object)…

1

MAPI Application: How to remove an existing additional Exchange mailbox from a MAPI profile in Outlook

Following my post How to add more Exchange mailboxes to a MAPI profile in Outlook 2010 (KB 171636) you can find below a code sample that allows you to remove an existing additional Exchange Mailbox from a MAPI profile. //RemoveMailbox.cpp Defines the entry point for the console application. #include "stdafx.h" //The following headers may be…

0