Tag Archives: “Exchange 2007”

Windows Server 2008 R2 – RTM and SP1 may not respond to a request for a Sender Policy Framework (SPF) TXT Record Correctly if it exceeds 512 bytes

In this scenario if the Sender Policy Framework TXT record exceeds 512 bytes in size then you may find your server anti-spam fails to correctly identify e-mail as either legitimate mail or SPAM, this can result in the two extremes of SPAM mail being delivered to users or legitimate e-mail being rejected as SPAM.

Microsoft do offer a hotfix for DNS Server to prevent this issue KB 2495375 http://support.microsoft.com/kb/2495375

Powershell Script to Determine Active User Count for Microsoft Exchange 2010 and Exchange 2007

A script that I came up with to determine the user load that is being placed on a particular Exchange server so that you can plot the days of the week and times of the day that are busiest. This Powershell Script can be used with GFI Max Remote Management or SpiceWorks to easily identify busy Exchange servers.

$GETMSEXCHISAUC = Get-Counter ‘\MSExchangeIS\Active User Count’
$MSEXCHISAUC = $GETMSEXCHISAUC.CounterSamples |Select-Object CookedValue
Write-Host You have $MSEXCHISAUC.CookedValue Active Exchange User Connection\s to the Exchange Server

Feel free to edit the text part of the output (Last line), this could be simplified if required.

[RESOLVED] You must close all dialog boxes before you can close Exchange Management Console

After installing Internet Explorer 9 on your Microsoft Exchange 2007 or Exchange 2010 mail servers you may have been noticing that the Exchange Management Console will refuse to close and simply state “You must close all dialog boxes before you can close Exchange Management Console”.

This has been a long running issue but has finally been resolved by the Microsoft Internet Explorer Developer Team.

Please note that this issue is now resolved by installing the latest cumulative security update for Internet Explorer, The fix was first included in security update 2618444 http://support.microsoft.com/kb/2618444

Information on the scope of this issue can still be found here KB 2624899 http://support.microsoft.com/kb/2624899

You can request the hotfix by visiting Microsofts website and searching for the following Knowledge Base article KB 2624899

Note: The hotfix is actually for Internet Explorer 9 rather than Microsoft Exchange but does actually resolve the issues with the Exchange Management Console not closing correctly.

Powershell Execution Policy

Are you having trouble creating or running you Powershell scripts in Windows, remember that you need to adjust the default Powershell Execution Policy to allow the running of your scripts.

You may otherwise receive an error like the one below

File scriptexample.ps1 cannot be loaded because the execution of scripts is disabled on this system. Please see “get-help about_signing” for more details.

It’s very easy to adjust so don’t panic, just find your Powershell shortcut and remember to open it by “Right Clicking” and selecting “Run as administrator”

Next simply paste the line below into powershell, hit enter and then press “Y” and hit Enter one final time.

set-executionpolicy remotesigned