Last active
July 11, 2017 08:16
-
-
Save irfani/d5cc458c72a5d12b0f9d6eb6ac852272 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
# A BoxStarter script for use with http://boxstarter.org/WebLauncher | |
# Updates a Windows machine and installs a range of developer tools | |
# Show more info for files in Explorer | |
Set-WindowsExplorerOptions -EnableShowProtectedOSFiles -EnableShowFileExtensions -EnableShowFullPathInTitleBar | |
# Enable remote desktop | |
Enable-RemoteDesktop | |
# Small taskbar | |
Set-TaskbarOptions -Size Small -Combine Always | |
# Allow running PowerShell scripts | |
Update-ExecutionPolicy Unrestricted | |
# Allow unattended reboots | |
$Boxstarter.RebootOk=$true | |
$Boxstarter.NoPassword=$false | |
$Boxstarter.AutoLogin=$true | |
# Update Windows and reboot if necessary | |
Install-WindowsUpdate -AcceptEula | |
if (Test-PendingReboot) { Invoke-Reboot } | |
# Install Visual Studio 2015 | |
cinst visualstudio2017community -packageParameters "WebTools SQL" | |
if (Test-PendingReboot) { Invoke-Reboot } | |
# VS 2015 extensions | |
cinst webessentials2015 | |
if (Test-PendingReboot) { Invoke-Reboot } | |
# MS SQL Server | |
cinst mssqlserver2014express | |
cinst mssqlservermanagementstudio2014express | |
if (Test-PendingReboot) { Invoke-Reboot } | |
# Java & IntelliJ IDEA | |
cinst jdk8 | |
cinst sbt | |
cinst eclipse | |
# Dev tools | |
cinst git | |
cinst git-credential-manager-for-windows | |
cinst tortoisegit | |
cinst python2 | |
cinst nodejs | |
cinst notepadplusplus | |
cinst fiddler4 | |
cinst rdcman | |
# Browsers | |
cinst googlechrome | |
cinst firefox | |
# Other essential junk | |
cinst 7zip | |
cinst filezilla | |
cinst wincdemu | |
cisnt synergy | |
cinst adobereader | |
# Fun | |
cinst vlc | |
if (Test-PendingReboot) { Invoke-Reboot } | |
# Configure windows Hyper-V virtualization | |
cinst Microsoft-Hyper-V-All -source windowsFeatures | |
if (Test-PendingReboot) { Invoke-Reboot } | |
# Cleanup | |
del C:\eula*.txt | |
del C:\install.* | |
del C:\vcredist.* | |
del C:\vc_red.* |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment