A few months back I created a script to assist in the installation of Exchange 2013 RTM on Windows 2008 and 2012. This same script needed some slight modification now as the allowable version of UCMA (Unified Communications Managed API) has changed to a newer version then what was required in RTM. I’ve also had to add new logic for the clean removal of the new C++ after UCMA installs.
Please remember that this script is provided as is and there is no warranty involved. If you have any questions or need some assistance, I will certainly put some effort in to helping you out.
Download the script here. Rename the file to Set-Exchange2013Prerequisites-1-5.ps1 after you download it.
Below is a sample of the code. I didn’t want to list 1000+ lines of code on this page. Please add comments to the post if you have any questions.
As a side note, I will be working to add some event logging and possibly static port mapping as well. This is something the original creators of the 2010 script wanted to add, so I attempt to add these next.
<# .SYNOPSIS Configures the necessary prerequisites to install Exchange 2013 RTM CU1 on a Windows Server 2008 or 2012 server. .DESCRIPTION Installs all required Windows 2008 or 2012 components, the filter pack, and configures service startup settings. Provides options for disabling TCP/IP v6, downloading latest Update Rollup, etc. First the script will determine the version of the OS you are running and then provide the correct menu items. .NOTES Version : 1.5 Change Log : 1.5 - Added support for Exchange 2013 RTM CU1, additional error suppression : 1.4 - Added support for Exchange 2013 RTM : 1.3 - Fixed Reboot for Windows Server 2012 RTM : 1.2 - fixed install commands for Windows Server 2012. Split CAS/MX role install. : 1.1 - Added Windows Server 2012 Preview support : 1.0 - Created script for Windows Server 2008 R2 installs Wish list : better comment based help : static port mapping : event log logging Rights Required : Local admin on server Sched Task Req'd : No Exchange Version : 2013 Author : Just A UC Guy [JAUCG] Email/Blog/Twitter : ( ) https://justaucguy.wordpress.com/ Dedicated Blog : https://justaucguy.wordpress.com/ Disclaimer : You are on your own. This was not written by, support by, or endorsed by Microsoft. Info Stolen from : Anderson Patricio, Bhargav Shukla and Pat Richard [Exchange 2010 script] : http://msmvps.com/blogs/andersonpatricio/archive/2009/11/13/installing-exchange-server-2010-pre-requisites-on-windows-server-2008-r2.aspx : http://www.bhargavs.com/index.php/powershell/2009/11/script-to-install-exchange-2010-pre-requisites-for-windows-server-2008-r2/ .LINK [TBD] ~~ MORE IN THE REAL SCRIPT AFTER THIS~~