Created
March 13, 2018 13:57
-
-
Save lurumad/8a22f4c64083bc043e8c2aac578fa522 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Install IIS | |
Install-WindowsFeature Web-Server,Web-Asp-Net45,NET-Framework-Features | |
# Install the .NET Core SDK | |
Invoke-WebRequest https://download.microsoft.com/download/1/1/5/115B762D-2B41-4AF3-9A63-92D9680B9409/dotnet-sdk-2.1.4-win-x64.exe -outfile $env:temp\dotnet-sdk-2.1.4-win-x64.exe | |
Start-Process $env:temp\dotnet-sdk-2.1.4-win-x64.exe -ArgumentList '/quiet' -Wait | |
# Install the .NET Core Windows Server Hosting bundle | |
Invoke-WebRequest https://go.microsoft.com/fwlink/?LinkId=817246 -outfile $env:temp\DotNetCore.WindowsHosting.exe | |
Start-Process $env:temp\DotNetCore.WindowsHosting.exe -ArgumentList '/quiet' -Wait | |
# Restart the web server so that system PATH updates take effect | |
net stop was /y | |
net start w3svc |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment