Windows – 2003 to 2012 – Monitoring replication (without SCOM)

Choice of two useful Tools to monitor AD replication. First is Active Directory Replication Status Tool. Second is REPADMIN.     > Examples below are run in an AD Forest named “Contoso.ca”, composed of 1 domain and 2 DCs (GC2K7 and E2010) with no errors.   Repadmin gives something similar to: PS C:\Users\Administrator> repadmin /showrepl...

September 23, 2013



Aide-Mémoire – Converting ExTra ETL trace to CSV

 Just a reminder for me (Extrace.exe is an internal tool used for deep debugging). extrace.exe -c -v ExchangeDebugTraces.etl >TraceOut.csv We have to use the Microsoft.Exchange.Diagnostics.dll matching the Exchange build where the trace come from. To check your Exchange server build, checkout the following link:http://social.technet.microsoft.com/wiki/contents/articles/240.exchange-server-and-update-rollups-build-numbers.aspx Sam.

September 13, 2013



Exchange Server 2010 – If search fails after upgrading to SP3 (RU2 as well in this case)

 First, as my colleague Rhoderick wrote in a nice and easy-to-read “Troubleshooting Content Indexing” article, we can use the Troubleshoot-CI.ps1 script to try detect other potential issues such as deadlocks (threads blocked and search is waiting on these to continue to index), corruption (not likely here as the state is “Healthy” for the indexes), stall...

September 3, 2013



Exchange 2007/2010/2013 – Gather email statistics like Exchange Profile Analyzer used to give in the past, but now using Powershell !

 Want to pull out statistics from Exchange such as :· messages sent per mailbox per day · messages received per mailbox per day · average message size… And more if you want ?Use Powershell and Excel now !  I- If you want to pull data from Exchange 2003 to 2007 Exchange versions, then you can use...

July 17, 2013



Windows 2008 R2 – WMI Quota issue caused by either a WMI leak or an application overallocating WMI memory

 I- Default WMI memory quotas for Windows 2008 R2: Memory Per Host:  536870912 Handles Per Host:  4096 Memory All Hosts:  1073741824 Process Limit All Hosts:  32 Threads Per Host:  256 To check what is the current ones on any Windows 2003 and up servers, you can use the following script, and pipe one or more servers on...

July 16, 2013



Exchange 2010 - Enabling an Autoreply Message (Out Of Office) using the Exchange Management Shell (Powershell)

  Here is how to test it on a user first. 1> Using powershell, do a $objMailbox = Get-Mailbox Some_Test_User to get the user we will assign the Out Of Office to. 2> Now define your text (best is to do it in HTML) and store it on 2 variables $InternalMsg and $ExternalMsg like in...

July 15, 2013



How-to procedure – Exchange 2010 SP1+ – Enabling and Troubleshooting Calendar Repair Assistant

  Did you ever have users complaining that meetings didn’t show up for some attendees ? Or a boss scheduling a meeting, and the meeting disappears from his calendar ?   How-To procedure - Exchange Server 2010 SP1 - Operations - Enable Calendar Repair Assistant.pdf   Note: if the Calendar Repair Assistant has to do...

July 13, 2013



How-To procedure – Exchange 2010 SP1+ - repair a corrupted mailbox without dismounting a database

     <p>Remeber ISINGEG ? The Exchange tool to repair logical corruptions in databases ? Now this tool is over, replaced by a commandlet in Exchange 2010+ which does not need to dismount databases !</p> <p> </p> <div id="scid:8eb9d37f-1541-4f29-b6f4-1eea890d4876:6060b84c-3b82-4009-a1b7-bf9ee58892c3" class="wlWriterEditableSmartContent" style="margin: 0px; padding: 0px; float: none; display: inline;"><p><div>How-to procedure - Exchange Server 2010 SP1 - Operations...

July 13, 2013



How-To procedure – Exchange 2010 SP1 and up (including Exchange 2013) – How to update your DAG members

When you install patches, RollUps, Update Intérims, Cumulative Updates, use the Powershell scripts that are available by default on all Exchange 2010/2013 installation folders !   How-to procedure - Exchange Server 2010 SP1 - Operations - Updating servers from a DAG.pdf   Easy and safe ! Sam.

July 13, 2013



How-To procedure – Exchange 2010 – > SP1 (as well as Exchange 2013 !!) – DAC mode and new DR commandlets … activate DAC mode and update your DR procedures !

  Since Exchange 2010 SP1, you can enable DAC mode (Datacenter Activation Coordination) even if you have a DAG on a single AD site. Lots of people are not aware that DAC mode not only helps preventing split brain scenario using a smart and simple mechanism (“hello I’m there and I’ve mounted databases” bit, and...

July 13, 2013