Welcome to TechNet Blogs Sign in | Join | Help

Microsoft UK UC Blog

...architecture, best practice, news & abc of Exchange, OCS and all things UC related
Automating Exchange 2010 Pre-Requisites on Windows Server 20008 R2

Everyone knows its a good idea to automate your installations of Exchange.  It provides a solid, repeatable process by which to deploy your infrastructure – and it takes less time – win/win!.

One area that I have witnessed repeatedly over the last 12 months or so is organisations automating their OS build and Exchange build, but deploying the Exchange pre-requisites manually.  This obviously leads to inconsistencies in the built out environment.

Since Windows Server 2008 we have been able to automate the pre-requisites deployment with “servermanagercmd” and appropriate xml files for each role.  However, in Windows Server 2008 R2 this method is deprecated.

Instead of “servermanagercmd” in Server 2008 R2 and SP2 we use a powershell cmdlet “add-windowsfeature

As a quick example, if you are installing the Client Access, Hub Transport and Mailbox roles onto a single server, the following PowerShell commands will take care of the pre-requisites for you…

Import-Module ServerManager
 
Add-WindowsFeature NET-Framework,RSAT-ADDS,Web-Server,Web-Basic-Auth,Web-Windows-Auth,Web-Metabase,Web-Net-Ext,Web-Lgcy-Mgmt-Console,WAS-Process-Model,RSAT-Web-Server,Web-ISAPI-Ext,Web-Digest-Auth,Web-Dyn-Compression,NET-HTTP-Activation,RPC-Over-HTTP-Proxy -Restart

This is discussed in more detail, including the features required for each specific role here : http://technet.microsoft.com/en-us/library/bb691354(EXCHG.140).aspx#WS08R2

Posted by Neil Johnson, MCS UK, MCM Exchange 2007

Posted: Friday, October 16, 2009 11:34 AM by msukucc

Comments

Ugg Boots said:

The ugg knightsbridge world is a comedy to those who thinks, a tragedy to those ugg classic cardy who feels.Look not mournfully into the ugg boots past, it comes not back again. Wisely improve the present, it is ugg lo pro button thine. Go forth to meet the shadowy future, without fear, and with a manly ugg bailey button heart. http://www.ugg2you.com/specials.html

# November 1, 2009 4:15 AM
Leave a Comment

(required) 

(required) 

(optional)

(required) 

  
Enter Code Here: Required

Comment Notification

If you would like to receive an email when updates are made to this post, please register here

Subscribe to this post's comments using RSS

Page view tracker