Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Call the Powershell about Server Manager - Tools - Windows PowerShell.

Windows Server

...

Code Block
Install-WindowsFeature Powershell, powershell-v2, powershell-ise, WEB-Server, web-basic-auth, web-windows-auth, web-common-http, web-security, web-app-dev, net-framework-features, net-framework-core, net-http-activation, net-non-http-activ, net-framework-45-features, net-wcf-msmq-activation45, net-wcf-pipe-activation45, net-wcf-tcp-activation45, NET-WCF-TCP-PortSharing45, web-asp-net, web-asp-net45, RSAT -Restart

Windows Server 2016

Info

The .NET 3.5 Framework must be installed separately using the following instructions Windows Server - Install .NET 3.5 Features

...

Code Block
$features = @("Powershell", "powershell-v2", "powershell-ise", "WEB-Server", "web-basic-auth", "web-windows-auth", "web-common-http", "web-security", "web-app-dev", "net-framework-features", "net-framework-core", "net-http-activation", "net-non-http-activ", "net-framework-45-features", "net-wcf-msmq-activation45", "net-wcf-pipe-activation45", "net-wcf-tcp-activation45", "NET-WCF-TCP-PortSharing45", "web-asp-net", "web-asp-net45", "RSAT")
 
foreach($feature in $features)
{
    Install-WindowsFeature -Name $feature
}

Windows Server 2019

Info

The .NET 3.5 Framework must be installed separately using the following instructions Windows Server - Install .NET 3.5 Features

...