Install IIS Features

Use the following PowerShell command to install the required IIS features on Windows Server 2012 R2 or later:

Import-Module ServerManager
Add-WindowsFeature Web-Server, Web-WebServer, Web-Default-Doc, Web-Http-Errors, Web-Static-Content, Web-Http-Logging, Web-Stat-Compression, Web-Url-Auth, Web-Windows-Auth, Web-Asp-Net45, Web-Mgmt-Console
Copyright © 2023 Recast Software, LLC. All rights reserved.