Created
August 31, 2018 21:29
-
-
Save felixrieseberg/1bfaca1acb91f93940fcff58cb62962d to your computer and use it in GitHub Desktop.
Windows VM Setup
This file contains 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
# Configure Windows | |
Set-WindowsExplorerOptions -EnableShowHiddenFilesFoldersDrives -EnableShowProtectedOSFiles -EnableShowFileExtensions -EnableShowFullPathInTitleBar | |
Update-ExecutionPolicy Unrestricted | |
## Git | |
cinst -y git.install | |
cinst -y poshgit | |
# Restart PowerShell / CMDer before moving on - or run | |
$env:Path = [System.Environment]::GetEnvironmentVariable("Path","Machine") + ";" + [System.Environment]::GetEnvironmentVariable("Path","User") | |
cinst Git-Credential-Manager-for-Windows | |
cinst github | |
## Node, npm | |
cinst -y nodejs.install | |
npm install -g npm-windows-upgrade | |
## Editors | |
cinst -y visualstudiocode | |
## Ruby, Go, Python | |
cinst -y ruby | |
cinst -y ruby.devkit | |
cinst -y python2 | |
if (Test-PendingReboot) { Invoke-Reboot } | |
## Basics | |
cinst -y 7zip.install | |
cinst -y sysinternals | |
cinst -y DotNet3.5 | |
# cinst -y DotNet4.0 -- not needed on windows 8 | |
# cinst -y DotNet4.5 -- not needed on windows 10 | |
# cinst -y PowerShell -- not needed on windows 10 | |
if (Test-PendingReboot) { Invoke-Reboot } | |
# Pinning Things | |
Install-ChocolateyPinnedTaskBarItem "$env:programfiles\Google\Chrome\Application\chrome.exe" | |
# Let's get Updates, too | |
Install-WindowsUpdate -acceptEula |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment