Pages

Monday, March 25, 2013

Install Lync 2013 Prerequisites on Windows Server 2012 Using PowerShell

I have used PowerShell from the beginning to install server prerequisites due to the fact that it is quicker than going thru and manually checking the boxes to add Windows Roles and Features and it simplifies the installation process. Here is the PowerShell cmdlet I use that will install all the prereqs. Nothing else will need to be installed after you run this. One thing to make not of is that you will need to have your Windows Server 2012 disk/image mounted. This is needed for the .NET 3.5 feature installation. If you have your DVD drive mapped to a drive other than D: and then alter the drive letter at the end of the script.

Install-WindowsFeature RSAT-ADDS,Web-Server,Web-Static-Content,Web-Default-Doc,Web-Http-Errors,Web-Asp-Net,Web-Net-Ext,Web-ISAPI-Ext,Web-ISAPI-Filter,Web-Http-Logging,Web-Log-Libraries,Web-Request-Monitor,Web-Http-Tracing,Web-Basic-Auth,Web-Windows-Auth,Web-Client-Auth,Web-Filtering,Web-Stat-Compression,Web-Dyn-Compression,NET-WCF-HTTP-Activation45,Web-Asp-Net45,Web-Mgmt-Tools,Web-Scripting-Tools,Web-Mgmt-Compat,NET-Framework-Core,NET-HTTP-Activation,Desktop-Experience,Windows-Identity-Foundation,Telnet-Client,BITS -Source D:\sources\sxs

For those of you wondering, the Telnet Client is not required but helps with troubleshooting in case you need it. An example of this would be testing connectivity to your Edge server. You can do this by opening the command prompt and typing in telnet EdgeServerFQDN 5061. This will verify that you can connect to the Edge server over port 5061. 



2 comments:

  1. Nice! Thanks! What is with this requirement for the .net 3.5 framework to come from the install media!? I've hit it a few times recently and never understood why.

    ReplyDelete