Skip to content

Instantly share code, notes, and snippets.

@pedropombeiro
Last active January 5, 2018 09:24
Show Gist options
  • Save pedropombeiro/1edd32bdc5586e4592af to your computer and use it in GitHub Desktop.
Save pedropombeiro/1edd32bdc5586e4592af to your computer and use it in GitHub Desktop.
Pave Development machine
# Boxstarter options
$Boxstarter.RebootOk=$true # Allow reboots?
$Boxstarter.NoPassword=$false # Is this a machine with no login password?
$Boxstarter.AutoLogin=$true # Save my password securely and auto-login after a reboot
# Basic setup
Update-ExecutionPolicy RemoteSigned
Set-CornerNavigationOptions -EnableUsePowerShellOnWinX
Set-WindowsExplorerOptions -EnableShowHiddenFilesFoldersDrives -EnableShowFileExtensions -EnableShowFullPathInTitleBar
Enable-MicrosoftUpdate
Set-WinUserLanguageList -LanguageList en-US
if (Test-PendingReboot) { Invoke-Reboot }
### Set time ###
Stop-Service w32time
w32tm /unregister
w32tm /register
w32tm /config /update /manualpeerlist:"ntp.pedropombeiro.com" /syncfromflags:MANUAL
Start-Service w32time
Start-Sleep -s 5
w32tm /resync /rediscover
w32tm /query /source /verbose
w32tm /query /status /verbose
Start-Sleep -s 3
# Update Windows and reboot if necessary
Install-WindowsUpdate -AcceptEula
if (Test-PendingReboot) { Invoke-Reboot }
# Install base software
cinst 7zip.install
cinst autohotkey.install
cinst adobereader
cinst cpu-z
cinst ext2fsd # ext4 FS support
cinst Firefox
cinst GoogleChrome
#cinst dropbox
cinst keepass
cinst keepass-plugin-keeagent
cinst keepass-plugin-favicon
cinst keepass-plugin-keeautoexec
cinst keepass-plugin-keeotp
cinst gpg4win
cinst iperf3
cinst mpc-hc
cinst naps2
cinst notepadplusplus.install
cinst visualstudiocode
cinst paint.net
cinst kitty
cinst pushbullet
#cinst spotify
cinst sdformatter
cinst rufus
cinst win32diskimager.install
cinst winscp.install
cinst mkvtoolnix
# Macrium Reflect
#cinst reflect-free # Possibly broken package
# Desktop only
cinst nircmd
cinst MakeMKV
cinst unifiedremote
# Laptop only
#cinst prey
# Requires restart
cinst Devbox-RapidEE
cinst Everything
cinst youtube-dl
# install development tools
# Install Visual Studio 2013 Ultimate
#cinst -y VisualStudio2013Ultimate -InstallArguments WebTools
#if (Test-PendingReboot) { Invoke-Reboot }
# Install Visual Studio 2015 Enterprise
#cinst -y VisualStudio2015Enterprise -InstallArguments WebTools
#if (Test-PendingReboot) { Invoke-Reboot }
Write-Output Installing PowerShell Community Extensions...
cinst Pscx
cinst PowerGUI
Write-Output Installing Error Lookup command-line tool...
cinst err
Write-Output Installing Git...
cinst -y git -params '"/GitAndUnixToolsOnPath"'
Write-Output Installing Git Extensions...
cinst gitextensions
#$env:GIT_SSH = "($Boxstarter.programFiles86)\GitExtensions\PuTTY\plink.exe"
$env:GIT_SSH = "$env:ChocolateyInstall\bin\plink.exe"
Write-Output Installing SysInternals...
cinst sysinternals
cinst windbg
cinst dependencywalker
cinst GitDiffMargin
cinst linqpad4
cinst beyondcompare
cinst logfusion
cinst NugetPackageExplorer
cinst P4Merge
#cinst snoop
#cinst kaxaml
cinst PngGauntlet
cinst fiddler4
cinst curl
cinst wget
cinst mediainfo
cinst slack
cinst rescuetime
cinst GitVersion.Portable
cinst sharex
#cinst resharper
#cinst dotPeek
#Install-ChocolateyVsixPackage StopOnFirstBuildError http://visualstudiogallery.msdn.microsoft.com/91aaa139-5d3c-43a7-b39f-369196a84fa5/file/44205/3/StopOnFirstBuildError.vsix
#Install-ChocolateyVsixPackage RoamingExtensionManager https://visualstudiogallery.msdn.microsoft.com/7b421a95-c32c-4433-a2be-a41b276013ab/file/172117/1/RoamingExtensionManager.vsix
#Install-ChocolateyVsixPackage EmojiVS https://visualstudiogallery.msdn.microsoft.com/88575465-8486-4c5a-8406-05e8d1d5b09d/file/172624/1/EmojiVS.vsix
Install-ChocolateyPinnedTaskBarItem "$($Boxstarter.programFiles86)\Google\Chrome\Application\chrome.exe"
#Install-ChocolateyPinnedTaskBarItem "$($Boxstarter.programFiles86)\Microsoft Visual Studio 12.0\Common7\IDE\devenv.exe"
Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux
Enable-UAC
if (Test-PendingReboot) { Invoke-Reboot }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment