-
-
Save nizmow/781a27cc5f73a948ad4fe7f262f26863 to your computer and use it in GitHub Desktop.
My dev box 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
######## Boxstarter script - based on https://gist.github.com/philchuang/20bbdacffbf9ecc8cc3a#file-phil-dev-vm-boxstarter-package-ps1 ######## | |
############### | |
#### notes #### | |
############### | |
### running remotely on VM fails on Configuring CredSSP settings | |
## check http://blogs.technet.com/b/heyscriptingguy/archive/2012/12/30/understanding-powershell-remote-management.aspx | |
### running locally on VM | |
## if connected, it will show login screen after restart, but is still working | |
### other notes | |
## Boxstarter repeats the _entire_ script after restart. For already-installed packages, Chocolatey will take a couple seconds each to verify. This can get tedious, so consider putting packages that require a reboot near the beginning of the script. | |
## Boxstarter automatically disables windows update so you don't need to do that at the beginning of the script. | |
### last run | |
## completed successfully except for GFW | |
## required 5 reboots | |
## took 3.25 hours | |
## still need to "Update and Restart" afterwards - and to ensure UAC is enabled | |
###################################### | |
#### make sure we're not bothered #### | |
###################################### | |
Disable-MicrosoftUpdate | |
Disable-UAC | |
cinst visualstudio2017-workload-netcoretools | |
cinst 7zip.install | |
cinst autohotkey.portable | |
cinst baretail | |
cinst Boxstarter | |
cinst Boxstarter.Azure | |
cinst Boxstarter.Bootstrapper | |
cinst Boxstarter.Chocolatey | |
cinst Boxstarter.Common | |
cinst Boxstarter.HyperV | |
cinst Boxstarter.WinConfig | |
cinst ChocolateyGUI | |
cinst directorymonitor | |
cinst docker | |
cinst fiddler4 | |
cinst Firefox | |
cinst googlechrome | |
cinst git | |
cinst git.install | |
cinst gitextensions | |
cinst git-credential-winstore | |
cinst sharex | |
cinst lessmsi | |
cinst NuGet.CommandLine | |
cinst NugetPackageExplorer | |
cinst nunit.install | |
cinst paint.net | |
cinst procexp | |
cinst procmon | |
cinst pstools | |
cinst mremoteng | |
cinst slack | |
cinst speccy | |
cinst sysinternals | |
cinst VisualStudioCode | |
cinst vlc | |
cinst windirstat | |
cinst winmerge | |
cinst fxcop | |
cinst postman | |
cinst ditto | |
cinst snaketail | |
cinst kdiff3 | |
################################# | |
#### NOW get windows updates #### | |
################################# | |
Enable-MicrosoftUpdate | |
Install-WindowsUpdate -AcceptEula | |
################# | |
#### cleanup #### | |
################# | |
del C:\eula*.txt | |
del C:\install.* | |
del C:\vcredist.* | |
del C:\vc_red.* | |
############################### | |
#### windows configuration #### | |
############################### | |
### do this here so that it only happens once (shouldn't reboot any more at this point) | |
Set-WindowsExplorerOptions -EnableShowHiddenFilesFoldersDrives -EnableShowProtectedOSFiles -EnableShowFileExtensions -EnableShowFullPathInTitleBar | |
################################ | |
#### restore disabled stuff #### | |
################################ | |
Enable-UAC |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment