Created
February 9, 2019 10:56
-
-
Save sworup/d08f34579a1028b837cd045bec65a4a9 to your computer and use it in GitHub Desktop.
My Windows BoxStarter Script
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
# Configure Windows | |
Set-WindowsExplorerOptions -EnableShowHiddenFilesFoldersDrives -EnableShowProtectedOSFiles -EnableShowFileExtensions -EnableShowFullPathInTitleBar | |
Enable-RemoteDesktop | |
Update-ExecutionPolicy Unrestricted | |
cinst -y Microsoft-Hyper-V-All -source windowsFeatures | |
# Packages | |
cinst -y hyper | |
## 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 | |
## Visual Studio 2017 | |
cinst -y visualstudio2017community | |
if (Test-PendingReboot) { Invoke-Reboot } | |
## Ruby, Go, Python | |
cinst -y ruby | |
cinst -y ruby.devkit | |
cinst -y python2 | |
if (Test-PendingReboot) { Invoke-Reboot } | |
## Basics | |
cinst -y vlc | |
cinst -y GoogleChrome | |
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