AndersonPatricio.ca

A Microsoft Unified Communications resource blog

Recent Posts

Search by Topic

Email Notifications

Blogroll

My Microsoft KBs

.:. About me..

Microsoft Community

Andy's Toolbox

Archives

Ads

Installing Exchange Server 2010 pre-requisites on Windows Server 2008 R2

Hi folks,

If you have ever tried to use ServerManagerCMD on Windows Server 2008 R2 probably you will remember this message:

"Servermanagercmd.exe is deprecated, and is not guaranteed to be supported in future releases of Windows. We recommend that you use the Windows PowerShell cmdlets that are available for Server Manager"

So.. which means that we can use the XML files to install the pre-requisites but we should start using the new method which is PowerShell. In order to use PowerShell to add Windows Features we need to know three cmdlets: Get-WindowsFeature, Add-WindowsFeature and Remove-WindowsFeature. If you open a PowerShell prompt on your Windows Server 2008 R2 and you try it won't work because you must enable the modules first, you can accomplish that task using Import-Module ServerManager cmdlet.

Using Exchange Server 2010 documentation has all the code to install all features using PowerShell capabilities, you can find this information at this page: http://technet.microsoft.com/en-us/library/bb691354(EXCHG.140).aspx#WS08R2

I'm a kind of lazy guy and I always trt to create scripts to automate regular process like the Exchange Server 2010 pre-requisites. So, using Microsoft documentation I created a script that asks you what you want to install for each role, also configures the NetTCPPortSharing service and gives you the TinyURL to download the Office 2007 Converter. The script is really simple and it can be seen in the figure below:

Get it here: http://msmvps.com/media/p/1739558.aspx] and make sure to rename it to .ps1 before using it.

Get it here: http://cid-a9fab8a859bc28e5.skydrive.live.com/self.aspx/.Public/Ex2010-PreRequisites.rename?sa=717015916 and make sure to rename it to .ps1 before using it.

Thanks to Phil Grainger and Robbie for telling me that MSMVPs.org required password to download. Thank you guys!

Cheers,
Anderson Patricio

Technorati : , , ,
Del.icio.us : , , ,
Zooomr : , , ,
Flickr : , , ,

Comments

Phil Grainger said:

Hi Andersen, great blog, unfortunately only MVP's can access the link...

cheers Phil

# November 16, 2009 8:40 AM

Robbie said:

I cannot seem to access the download, it is asking for a username and password with no way to sign up

# November 16, 2009 1:10 PM

David Pekmez said:

Good Stuff, I made a link to this post on my web site,

cheers

# November 17, 2009 7:40 AM

Bhargav Shukla said:

Anderson,

Great job creating the script.

I took liberty to enhance your script and automate installation of Microsoft Filter Pack. I gave due credits to you and published updated script to my blog: http://tinyurl.com/yhrgw78.

Thanks,

Bhargav

twitter: bhargavs

# November 18, 2009 11:45 AM

Exchange Server said:

A while ago, fellow Exchange MVP Anderson Patricio released a script to help automate some of the tasks

# December 12, 2009 6:17 PM

Pat Richard said:

I revised it further and added auto setting of the NetTCPPortSharing config and some other stuff. Available at www.ucblogs.net/.../Automated-prerequisite-installation-via-PowerShell-for-Exchange-Server-2010-on-Windows-Server-2008-R2.aspx

# December 12, 2009 6:23 PM

Peter Schmidt said:

Har fundet et kanon PowerShell script til automatisere installationen af Exchange 2010 pre-requirements

# April 16, 2010 3:50 AM

Peter Schmidt said:

Har fundet et kanon PowerShell script til automatisere installationen af Exchange 2010 pre-requirements

# April 16, 2010 5:18 AM
Leave a Comment

(required) 

(required) 

(optional)
 

(required) 

If you can't read this number refresh your screen
Enter the numbers above: