At this point IIS should be running on port 80 by default with the firewall rule “World Wide Web Services (HTTP Traffic-In)” enabled in Windows firewall automatically. Once the installation has succeeded, you’ll be returned to the PowerShell prompt.If you do not plan on managing IIS through this server then you may prefer to not include this option. Here we include the management tools so that you can manage IIS on this server, as these are generally installed when using the GUI, making this PowerShell command equivalent with the GUI method below. Install-WindowsFeature -name Web-Server -IncludeManagementTools Open PowerShell with administrative privileges and run the Install-WindowsFeature cmdlet as shown below.
This method is a lot faster than going through all of the GUI options. If you don’t have the GUI installed or just want to use the PowerShell command line interface (CLI) instead, follow these steps. This can be done both with PowerShell or through the GUI, we’ll cover both methods here. Here we’re going to show you how to install the Internet Information Services (IIS) web server version 10.0 in Microsoft’s Windows Server 2019 operating system.