Exchange 2007 .. When is Memory a Bottleneck?

I Dunno if you remember this and my little picture:

BUT, you have spec’ed ur server, you have enough disk, proc and memory.  Any idea on how you know when ur are running out of memory?

Exchange 2007 Messages Queued for Submission counter

Sean pointed this one out to me, and I can’t see I had noticed this before.  Check out in perfmon, on an Exchange 2007 Mailbox Role server:

MSExchangeIS MailboxMessages Queued for Submission and then select _Total or a mailbox database.

perfmon says “Messages Queued For Submission is the current number of submitted messages which are not yet processed by transport.”

It would seem that this counter starts to climb, and never goes down :-| anyone else noticed this? … and there is nothing pending

I know that it’s not fixed in Exchange 2007 Service Pack 1, Rollup 3!

Get-ExchangeServerPLUS.ps1 v1.14

Damm, has this script grown up recently.

In a nut shell, this is the daddy of all scripts and gathers chunks of information from the Exchange Organisation and each Exchange Server by using a mixture of WMI, .Net and Exchange 2007 Powershell commands.

The script can be run for just one server, by appending an server name to the command or with no parameter, in which case it will enumerate all Exchange Servers from the Active Directory using the Exchange Powershell command Get-ExchangeServer

Typical Syntax




The scripts does the following:

Global Settings

  • Get-TransportConfig
  • Get-TransportRule
  • Get-ExchangeAdministrator
  • Get-UMMailboxPolicy
  • Get-UMMailbox
  • Get-UMDialplan
  • Get-UMIPGateway
  • Get-UMAutoAttendant
  • Get-UMHuntGroup

Per Server: General

  • Win32_OperatingSystem
  • Win32_BootConfiguration
  • Win32_ComputerSystem
  • Win32_ComputerSystemProduct
  • Get-ExchangeServer
  • Ping Test
  • List Exchange 2007 Patches
  • List .NET Framework 2.0 SP1 Updates
  • List Some Other Hotfixes
  • List HP Teaming Driver

Per Server: Hub Role

  • Get-TransportServer
  • Get-TransportRulePredicate
  • Get-TransportRuleAction

Per Server: UM Role

  • Get-UMServer
  • Get-UMActiveCalls

Per Server: Mailbox Role

  • Get-MailboxServer
  • Get-StorageGroupCopyStatus
  • Test-ReplicationHealth
  • StorageGroup & Database

Per Server: CAS Role

  • Get-OwaVirtualDirectory
  • Get-ActiveSyncVirtualDirectory
  • Get-OutlookAnywhere
  • Get-UMVirtualDirectory
  • Get-AutodiscoverVirtualDirectory
  • Get-WebServicesVirtualDirectory
  • Get-OabVirtualDirectory
  • Get-ClientAccessServer
  • Get-UMVirtualDirectory

Per Server: Exchange 200x Servers

  • StorageGroup & MailboxPublic Databases


  • Get-ClusteredMailboxServerStatus

It now exports a load of data to and XML file and a smaller subset to the UI.  It seems to me to be quicker and I am still adding stuff as I go.

I typically schedule this script to run once a week and email me, so I put a wrapper around the script to create a transcript and email.  Check out the attachment, I have included all the bits & Bobs

Okay so the revision history is this:

#v1.0  9 May 2007          : A Script is born
#v1.1 14 September 2007    : Updated formatting & Exchange 2003 exclusion
#v1.1  3 October 2007      : Updated to include AdminDisplayVersion
#v1.2 15 October 2007      : Updated to not perform registry check on Provisioned Servers
#v1.3 30 October 2007      : Updated with cluster information
#v1.4 20 December 2007     : Updated to include Mailbox information
#v1.5  3 Janaury 2008      : Updated to list .net framework fixes
#v1.6 29 January 2008      : Updated to list out selected hotfixes,
#                            HP Teaming Driver and output to csv
#v1.7 10 March 2008        : Added mailbox statistics & Output to XML File
#v1.8 30 May 2008          : Update to “Ping” the server to check if it worth continuing
#                            Added additonal “stuff” for Exchange 2003 Servers
#                            Added OS Version
#                            Added some Write-Debug statements
#v1.9  5 June 2008         : Fixed issues with XML and removed CSV
#v1.10 5 June 2008         : Added CAS Discovery
#                            Added Better XML stuff
#v1.11 25 June 2008        : Added WMI to XML
#v1.12 26 June 2008        : Added Capture information for SCR Clusters
#v1.13 9 July 2008         : Added registry looping of subkeys
#V1.14 23 July 2008        : Added UM Commands

Feel free to use and abuse, and give me some feedback

Performance counters and thresholds for Exchange 2007

So I just stumbled upon this blog … very interesting and one for adding to your favourites for when you need it.

Free Exchange Server eBook

Just discovered this blog and found a freebie … Can’t be bad.  All you need to do is provide an email address you can download the 379 pdf doc that is made up from thses books:

Mastering Exchange Server 2007
Chapter 2: Exchange Server Architecture
Chapter 6: Scaling Upward and Outward

Exchange Server 2007 Infrastructure Design: A Service-Oriented Approach
Chapter 4: Applying Planning Principles to Exchange Sever 2007

Exchange Server 2007 Implementation & Administration
Chapter 2: Exchange Server Administration
Chapter 4: Installing Exchange Server 2007
Chapter 12: Sizing Storage Groups and Databases

MCTS: Microsoft Exchange Server 2007 Configuration Study Guide (Exam 70-236)
Chapter 10: Creating, Managing Highly Available Exchange Server Solutions

MCITP: Microsoft Exchange Server 2007 Messaging, Design and Deployment Study Guide (Exams 70-237 & 70-238)
Chapter 5: Defining Policies and Security Procedures
Chapter 10: Planning a Backup and Recovery Solution for Exchange Server 2007
Chapter 15: Planning Exchange Server 2007 Security

Go get it, it’s free

Windows Live Messenger now available on BlackBerry

niiicccee … Just found this up on Bink.  Not too sure if the current messaging policy on a BES server will control this, but check it out!

Windows Live™ Messenger for BlackBerry® smartphones allows you to chat in virtual real time with your instant messaging (IM) contacts when and where you want to – not just when you’re in front of your computer.


Blackberry Outage for EUROPE

Heard a rumour today, that RIM are taking the european datacentre down for 7 hours on Friday (25th July 2008) night!

Yeah, you read right, that it they are taking EUROPE out! .. All BES devices that use the European NOC will not be working!

Oh my GAWD! time to get those Windows Mobile devices out! 

Couldn’t find anything on Google about it .. do you know any more?

How to disable the "Sent by Microsoft Exchange Server 2007" branding sentence in an Exchange Server 2007 DSN message

So Anderson posted this, and my initial thought was huh?  The KB didn’t really explain either, so it was time for a test.

 So the KB will allow you to remove the circled text below:

And it’s a nice simple PowerShell Command:

Set-TransportConfig WritingBrandingInDSNEnabled $false

But you do need to have Exchange 2007 SP1 with RU3

Versions of the BlackBerry Enterprise Server 4.0 and 4.1 for Microsoft Exchange

This is a handy little KB from RIM, it enables you to determine the software version of your BlackBerry Enterprise Server ;-)


Outlook vs. Gmail -The Definitive Comparison

Not sure how I found this, but have a read.  It is not a very good comparison, as it shuold be Exchange 2007 vs Gmail or actually Windows Live vs Gmail