Installing Exchange 2010 quickly using PowerShell

Installing Exchange 2010 quickly using PowerShell

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. This is replaced by Powershell commands: Get-WindowsFeature, Add-WindowsFeature, Remove-WindowsFeature

When you run those – you will get an error. Need to run this first:
** Import-Module ServerManager
** Install 2008 R2 off a CD/ISO
** Set computer time, networking, machine name and domain
** Install the AD tools using Powershell: Add-WindowsFeature RSAT-ADDS
** Re-Boot

Upon reboot, launch PowerShell as Administrator and copy paste the below (again, this is for MBX, HT, CAS on a single server, check the link above for more detailed pre-requisite planning)

** Add-WindowsFeature Web-Metabase, Web-Lgcy-Mgmt-Console, Web-Server, Web-ISAPI-Ext, Web-Metabase, Web-Lgcy-Mgmt-Console, Web-Basic-Auth, Web-ASP, Web-Digest-Auth, Web-Windows-Auth, Web-Dyn-Compression, Web-Net-Ext, RPC-over-HTTP-proxy, AS-NET-Framework, NET-HTTP-Activation

Set the TCP .net sharing service to automatic startup
** Set-service NetTcpPortSharing -startuptype automatic

Optional – download and install the x64 version of the Microsoft Office Filter Pack (this allows office attachments content to be searched and indexed.

And from the Exchange 2010 install directory: .setup.com /mode:install /roles:mb,ht,ca

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s