Exchange: Recovering a Database from Dirty Shutdown (the Easy Way)

In testing (and production), we invariably run into problems where the database will be in a 'bad state'. In my case, I pulled Store service out from under it (disabled and stopped the service) and this caused the database to go into dirty shutdown: eseutil.exe /mh "C:\Databases\EMEA-SWEEX15-01 Store 001\EMEA-SWEEX15-01 Store 001.EDB" Extensible Storage Engine Utilities…

1

C#: Returning an Object via System.Threading.Tasks.Task<T>

In programming something (in EWS), discovered the joys of what I believe was 'lock contention'. To explain, first we need to cover Tasks. Async Tasks (which call 'await' against other tasks) will only perform the action requested, if you do not specify a managed object to handle. For example, if I call an async for…


C#: Returning ADSI COM Properties of a User Object (Or Any Object, Really)

A few months ago, I was working on a project to query for specific AD properties of a user-object programmatically. I knew the properties I wanted to return and I had worked with returning properties in ExBPA/HRC. I hadn't, however, found the joys of receiving a System.__COM object in any of my returns until now….

4

ExRCA: Analyzing Messages via Headers

ExRCA (https://testconnectivity.microsoft.com/ or http://www.exrca.com/ [Redirects to the former.]) has a feature that you can use to analyze where message delays may have occurred, aptly named 'Message Analyzer'. You'll get a table with each hop that the message passed through and the time between each, like the following: You can also get the Analyzer installed as an…


Exchange 2013: MailboxTransportMBTDeliveryPercentPermanentFailedMonitor Fires When User is Over Quota

In Exchange 2013, there may be an instance where a user is over-quota and causes the Mailbox Transport responder to escalate. This issue is specific only to Mailbox Delivery and there are some simple steps to prove that this is a 'by-design' scenario. Check the current value of the counter, run command: Get-Counter "\MSExchange Delivery Store…