Provisioning Exch 2010 when you’ve stil got Exch 2007

At one of my customers we’ve started provisioning all new users directly to Exchange 2010, while the old users are being progressively migrated from Exchange 2007. I modified the provisioning code for Exchange 2010 (basically just adding the msExchHomeServerName attribute as explained in this doc) and new users and mailboxes were created just fine. What…

A script to bulk-modify permissions on Public Folders

I’m still working on clearing up an enormous number of public folders prior to migration to Exchange 2010 (from 2007). The permissions structure was not well managed so I have been applying a set of standard groups (Read, Update and Change) to each PF, and at the same time removing any rights granted to Everyone…

A script to remove training spaces from public folder names

I am completely sick of the sight of this error: WARNING: Object \public folder path   has been corrupted and it is in an inconsistent state. The following validation errors have occurred: WARNING: The Name property contains leading or trailing whitespace, which must be removed. So here’s powershell script to find and rename the offending folders. (Why…

A GALSync powershell script

Here is a script I wrote to do a simple GAL synchronization between two Exchange organizations. The script finds the mail-enabled  users in one domain, and creates contacts for them in the other domain. Existing contacts will also be updated and deleted as needed.

Managing Exchange 2000/2003/2007 with ILM 2007

I have just posted this article in the Greatest Hits series on the ILM Technet forum. http://social.technet.microsoft.com/Forums/en-US/identitylifecyclemanager/thread/f8ad045d-7252-4cd1-a189-d704a8f99129 The article covers various management tasks you can acheive with the standard AD MA, including provisioning and updating of users, mailboxes, contacts and distribution groups. There are quite a few code samples as well.

A real life SCR failover

Quite unexpectedly this week, I got to genuinely use SCR “in anger” when I killed a client’s production Exchange 2007 server by attempting to install SP2 on it (for that whole sorry story see http://social.technet.microsoft.com/Forums/en/exchangesoftwareupdate/thread/713d2b17-f19d-4eaf-8146-c51f59942d08?prof=required). I’ll keep my swearing about SP2 off the page here and focus on the hero of the week – which was SCR!

ExternalEmailAddress is mandatory on MailUser

I just got this error while attempting to provision Exchange 2007 users with ILM 2007 FP1: Event Type:    Error Event Source:    MIIServer Event Category:    Server Event ID:    6801 Date:        15.09.2009 Time:        10:14:02 User:        N/A Computer:    ILMSERVER Description: The extensible extension returned an unsupported error in MIIS. The stack trace is: “Microsoft.MetadirectoryServices.ExtensionException: ****…

Exchange 2007 Failover and Failback with SCR

I’ve been doing a bit of work with SCR lately, the point being to achieve a “poor man’s failover” for the mailbox server role. Not everyone needs the immediacy, or the expense, of a cluster, and SCR was a welcome addition to the redundacy capabilities of Exchange 2007 – but I couldn’t find a complete…

Exchange 2007 Outlook Anywhere on Windows 2008 IPv6 bug – the fix breaks SCR!

Just a quick post about this technote: http://technet.microsoft.com/en-us/library/cc671176.aspx It claims this bug was fixed in rollup 4, but after struggling with a server with rollup 7 installed for many hours today, I can confirm that this bug is not fixed, and you do need to follow the procedure in the technote. The bug concerns Outlook…

Adding Exchange 2007 mailboxes to existing users

A while back I proposed  a powershell XMA approach to the problem of adding Exchange 2007 mailboxes to existing AD users. This was because my old method of adding an Exchange 2003 mailbox by populating a couple of extra attributes did not seem to work with Exchange 2007. However, in  a recent thread on the…