Links

Install Microsoft IIS server

How to Install webserver on Windows with PowerShell
# PowerShell
PS > Get-WindowsFeature -Name Web-* | Install-WindowsFeature
# cmd.exe
C:\Users\John > pwsh
PS > Get-WindowsFeature -Name Web-* | Install-WindowsFeature