Automating IIS Installation on Windows Server 2019 Core

The following PowerShell commands (using the PowerShell admin prompt) can be used on Windows Server 2019 Core for installing the IIS feature:

1. Install IIS and its components:

Install-WindowsFeature -Name Web-Server,Web-WebSockets,Web-Asp-Net,Web-Asp-Net45, Web-Mgmt-Console

2. Check for installed features:


3. After installation, IIS Manager can be run by using its full path and name. The default path is: