Exchange Server Performance and Data Gathering with ExCollect   Leave a comment

If you haven’t heard of it before you will wish you had. ExCollect has been around a while, developed by Jason Sherry (Exchange MVP), to help gather Exchange 2003 and 2007 information about performance and various statistical information. You can find the tool and information on how to use it here.

Please note I said 2003 and 2007. They are working on support for 2010.

This tool is useful for performance troubleshooting and during a design exercise for moving to 2010. You can use the statistical information to determine things like how many logs files are generated which is very useful when creating an Exchange 2010 DAG that will stretch across two sites.

I recommend checking it out and seeing how it can be useful to you.

The posts are provided “AS-IS” with no warranties, and confers no rights


5 Must Do’s Microsoft’s Virtualization   Leave a comment

Well thought out article on things Microsoft should be doing with virtualization if they want to stay in the game.

The posts are provided “AS-IS” with no warranties, and confers no rights.

Posted July 21, 2010 by Chris Morgan in Virtualization/Cloud

Tagged with

Updated – Exchange Active Sync with Apples iOS4   Leave a comment

Check out the article by the MS Exchange Team on what issues they are seeing how they are handling them.


The fix appears to be in place for the iOS.

The posts are provided “AS-IS” with no warranties, and confers no rights.

Posted July 21, 2010 by Chris Morgan in Exchange/UC

Tagged with , , ,

Exchange 2010 Mailbox Moves – In Depth   Leave a comment

The MS Exchange team recently released a great article on Exchange 2010 mailbox moves. I recommend reading through it.

The posts are provided “AS-IS” with no warranties, and confers no rights.

Uninstalling Exchange – What mailboxes?   Leave a comment

Ever try to uninstall Exchange or remove an Exchange database only to be left with an error similar to this:

One or more users currently use this mailbox store. These users must be moved to a different mailbox store or be mail disabled before deleting this store.

Ok, no worries, you will go to look at the store and see what mailboxes exist and just delete them. Right? But when you go look there are no mailboxes in the database. What’s the deal?? Just to make sure that Exchange hasn’t gone loopy you might even reboot the server and try again. Only to be hit in the face with the same message.

Now you are sure Exchange has gone loopy so you begin to scramble on google to find out how you can get rid of Exchange so you can move on with your life. Well you are in luck. You have stumbled across this barely accessed blog of mine. 🙂

This is actually a very common issue and luckily there is a very easy fix for it. If you have never used dsquery before you are about to. My guess is you will begin to see other applications for it as well.

First we open up a command prompt.

Now type in the following command:

dsquery * DC=domain,DC=com -filter “(&(objectclass=user)(msExchHomeServerName=/o=EXOrgName/ou=AdministrativeGroupThe ServerIsIn/cn=Configuration/cn=Servers/cn=MAILSERVERName))” -attr distinguishedName > c:\mailboxes.txt

  • Replace the DN with the DN of your domain name. So if you are, the DN would be DC=corp,DC=xyz,DC=local.
  • Replace the “EXOrgName” with the Organizational Name of Exchange. This can be found at the top of your management GUI for Exchange.
  • Replace “AdministrativeGroupTheServerIsIn” with…do I really need to say it? 🙂 
  • Replace “MAILSERVERName” with the server you are trying to uninstall.

What you wind up with is an output of users with the attribute still populated. Don’t fret, this happens over time. Now that you have this list you can simple go to the user with in Active Directory Users and Computers (ADUC), right-click and remove Exchange attributes. Try uninstalling Exchange again and watch in peace and it gracefully disappears. Ahh, I love it when stuff works!

The posts are provided “AS-IS” with no warranties, and confers no rights.

Exchange Tip – Setting Quotas on all Mailbox Stores   Leave a comment

Ever have a need to set the same quota on all your mailbox stores? Here’s a simple command to help you out:

Get-MailboxDatabase | Set-MailboxDatabase -ProhibitSendReceiveQuota -ProhibitSendQuota -IssueWarningQuota

Then if you want to verify the settings:

Get-MailboxDatabase | FL Name,*quota

But I only want to assign to certain Mailbox Databases and not all. How can I do that?? Simple, you just need make sure you do a Get-MailboxDatabase that finds only the Databases you want. Like you may want all Databases on a server. So you would do:

Get-MailboxDatabase -Server MBXServerName | Set-MailboxDatabase -ProhibitSendReceiveQuota -ProhibitSendQuota -IssueWarningQuota

If you had a list of Databases in a file you could also do something like this (I haven’t tested this myself yet but should get you close if not work out of the gate).

Get-content databaselist.txt | ForEach-Object -Process {Set-MailboxDatabase -ProhibitSendReceiveQuota -ProhibitSendQuota -IssueWarningQuota }

Additionally you will want to be aware that values in quotas are in KB’s. You can specify MB or GB for the values but without it you may wind up with a 1KB mailbox instead of a 1GB mailbox, so be careful! Below is an example:

Set-MailboxDatabase -IssueWarningQuota 800MB -ProhibitSendQuota 900MB -ProhibitSendReceiveQuota 1GB

What if I want to be promted for the values? Not a problem. You could do something like this:

[string]$WRN = Read-host “Mailbox Database Warning Quota”

write-host “”

[string]$Send = Read-host “Mailbox Database Prohibit Send Quota”

write-host “”

[string]$SendRcv = Read-host “Mailbox Database Prohibit Send/Recieve Quota”

write-host “”

Write-host “Setting Mailbox Quota Values..”

Get-MailboxDatabase | Set-MailboxDatabase -ProhibitSendReceiveQuota $SendRcv -ProhibitSendQuota $Send -IssueWarningQuota $WRN

“Verifying Mailbox Quota Values…”

Get-MailboxDatabase | FL Name,*quota

Now you can take the information from the begining of this article and modify the above script to fit your needs.

Can’t have a good article without a BIG WARNING….

****Warning – testing is always a big part of ensuring desired results and avoiding catastrophic events. Verifying the limits you are setting along with using the “-Whatif” parameter will help you avoid the screaming phone call, the loud door knocking, or the devastating pink slip. 🙂

The posts are provided “AS-IS” with no warranties, and confers no rights.

Exchange 2010 – 12027 Transport Warnings   Leave a comment

****Updated for SP1 – February 4th, 2011****

You may see numerous (10+ at a time) warnings pop up in the Application event logs that look something like this:

Warning 4/14/2010 12:34:45 PM MSExchangeTransport 12027 TransportService

It has been confirmed by Microsoft that these can be safely ignored provided you are not experiencing any issues. SP1 corrects this issue. If you see these errors after SP1 you should investigate the problem.

The posts are provided “AS-IS” with no warranties, and confers no rights.

Posted June 23, 2010 by Chris Morgan in Exchange/UC

Tagged with , , ,

%d bloggers like this: