Last active
December 22, 2018 02:11
-
-
Save rsaltrelli/b22a036e377fe6f5052adcb07a0b1c71 to your computer and use it in GitHub Desktop.
Initializes a new TCGplayer dev environment on a fresh Windows 10 installation using Boxstarter and Chocolatey.
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
# To run this script: | |
# PS> PowerShell.exe -ExecutionPolicy UnRestricted -File .\boxstarter.ps1 | |
# Setup Boxstarter and Chocolatey | |
. { iwr -useb http://boxstarter.org/bootstrapper.ps1 } | iex | |
get-boxstarter -Force | |
# Enter Boxstarter shell | |
C:\ProgramData\Boxstarter\BoxstarterShell.ps1 | |
# Configure Windows using Boxstarter commands | |
Install-WindowsUpdate | |
Disable-UAC | |
Update-ExecutionPolicy | |
Set-WindowsExplorerOptions -EnableShowHiddenFilesFoldersDrives -EnableShowProtectedOSFiles -EnableShowFileExtensions | |
# Install packages using Chocolatey commands | |
cinst -y IIS-ApplicationDevelopment -source windowsfeatures | |
cinst -y IIS-ASPNET -source windowsfeatures | |
cinst -y IIS-ASPNET45 -source windowsfeatures | |
cinst -y IIS-CommonHttpFeatures -source windowsfeatures | |
cinst -y IIS-DefaultDocument -source windowsfeatures | |
cinst -y IIS-HttpLogging -source windowsfeatures | |
cinst -y IIS-ISAPIExtensions -source windowsfeatures | |
cinst -y IIS-ISAPIFilter -source windowsfeatures | |
cinst -y IIS-ManagementConsole -source windowsfeatures | |
cinst -y IIS-NetFxExtensibility45 -source windowsfeatures | |
cinst -y IIS-RequestFiltering -source windowsfeatures | |
cinst -y IIS-Security -source windowsfeatures | |
cinst -y IIS-WebServer -source windowsfeatures | |
cinst -y IIS-WebServerManagementTools -source windowsfeatures | |
cinst -y IIS-WebServerRole -source windowsfeatures | |
cinst -y URLRewrite | |
cinst -y GitKraken | |
cinst -y Git | |
cinst -y VisualStudio2017Professional | |
cinst -y VisualStudio2017-Workload-NetWeb | |
cinst -y VisualStudio2017-Workload-ManagedDesktop | |
cinst -y DotNet3.5 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment