Saturday, April 21, 2012

Installing Exchange 2010 Prerequisites on Server 2008 R2 using PowerShell



You can install Windows Server 2008 R2 operating system prerequisites of Exchange 2010 using xml scripts found in  scripts catalogue on the Exchange media as following:
  • Open PowerShell
  • Navigate to your Exchange media “for example: D drive”
  • Navigate to Scripts folder on Exchange media
 set-location “d:\Scripts”
  • Execute the following script [this will install all prerequisites for all roles]
    ServerManagerCMD –IP Exchange-all.xml 
  • If any of the required prerequisites is already installed, it will be skipped.

There are multiple XML files, each one for specific role [choose what suits you]:
image

You still need to manually configure Net.Tcp Port Sharing Service for Automatic startup though after system restart, you can either start the service from services.msc or by using the following script:
Set-Service NetTcpPortSharing -StartupType Automatic

No comments:

Post a Comment