ZHire Account Provisioning App
Automate AD / Exchange / Lync
accounts. Free Download



Install Exchange 2007 sp1 prerequisites on Server 2008 from command line

It would be nice to Install Exchange 2007 sp1 prerequisites on Server 2008 from command line. You can create a script / batch file with commands below. This will automate the Installation of  Exchange 2007 sp1 prerequisites on Server 2008.

 

1. Open notepad

2. Copy and paste below text to notepad

3. Save the file with .bat extension.

 

 

rem # ---------- SCRIPT STARTS HERE--------------

rem #script to install ex2k7 sp1 prereqs on Server 2008
rem i#nstall IIS for management tools

ServerManagerCmd -i Web-Metabase
ServerManagerCmd -i Web-Lgcy-Mgmt-Console


rem #install powershell
ServerManagerCmd -i PowerShell

rem #install IIS
ServerManagerCmd -i Web-Server
ServerManagerCmd -i Web-ISAPI-Ext
ServerManagerCmd -i Web-Metabase
ServerManagerCmd -i Web-Lgcy-Mgmt-Console
ServerManagerCmd -i Web-Basic-Auth
ServerManagerCmd -i Web-Digest-Auth
ServerManagerCmd -i Web-Windows-Auth
ServerManagerCmd -i Web-Dyn-Compression

rem #install the RPC over HTTP proxy feature
ServerManagerCmd -i RPC-over-HTTP-proxy

 

rem # ---------- SCRIPT ENDS HERE--------------