How ToWindows Server
Windows Server How To: How to quickly install IIS + all features with one quick line in PowerShell
All you need to do to install IIS in Server 2012 and 2012 R2 super quickly is run the following command in an elevated PowerShell prompt.
Install-WindowsFeature Web-Server -IncludeManagementTools -IncludeAllSubFeature