In my ambition to avoid GUIs and do everything on the command line, I recently spun up some infrastructure to host an Umbraco website.
I wanted to see how I could go working with Windows Server 2019 Datacentre Core which is GUI-free except for a terminal.
Normally installing IIS and other prerequisites for Umbraco would be a few clicks through Server Manager to enable features.
Turns out it's much easier in Powershell.
With that you have IIS and ASP.NET installed and ready to go.
URLRewrite2 is probably going to be asked for, so -
1Invoke-WebRequest -Uri "https://download.microsoft.com/download/1/2/8/128E2E22-C1B9-44A4-BE2A-5859ED1D4592/rewrite_amd64_en-US.msi" -OutFile "C:\temp\rewrite_amd64_en-US.msi" 2 3. C:\temp\rewrite_amd64_en-US.msi
The URL specified comes from here.