-
-
Save kirannhegde/e1fe937f9f86e420409633252826fcb0 to your computer and use it in GitHub Desktop.
Boxstarter seemingly rebooting constantly
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
Update-ExecutionPolicy Unrestricted | |
# System settings | |
Enable-MicrosoftUpdate | |
Install-WindowsUpdate -AcceptEula -GetUpdatesFromMs -SupressReboots | |
Set-StartScreenOptions -EnableBootToDesktop | |
## Windows features | |
choco install -y IIS-WebServerRole -source WindowsFeatures | |
# Desktop settings | |
Set-WindowsExplorerOptions -EnableShowHiddenFilesFoldersDrives ` | |
-EnableShowFullPathInTitleBar ` | |
-EnableShowProtectedOSFiles ` | |
-EnableShowFileExtensions ` | |
-EnableShowRecentFilesInQuickAccess | |
Set-TaskbarOptions -Size Small -Lock | |
Disable-BingSearch | |
Disable-GameBarTips | |
# Powershell setup | |
## Necessary for Powershell Install-Module to work | |
Set-PSRepository -Name PSGallery -InstallationPolicy Trusted | |
# NuGet is a prerequisite for Install-Module | |
Install-PackageProvider -Name NuGet -Force | |
Install-Module -Force -Name Carbon | |
Install-Module -Force -Name PSReadLine | |
Install-Module -Force -Name Posh-SSH | |
Install-Module -Force -Name Pester | |
# Download powershell help files (like man pages) for local consumption | |
Update-Help | |
# `choco install` = Chocolatey install if missing) | |
# Third party Applications | |
## GUI applications | |
### End User | |
choco install -y googlechrome | |
choco install -y firefox | |
choco install -y flashplayerplugin | |
choco install -y 7zip | |
choco install -y vlc | |
choco install -y sumatrapdf | |
choco install -y skype | |
choco install -y wox | |
### Dev | |
choco install -y nodepadplusplus | |
choco install -y putty | |
choco install -y procexp | |
choco install -y fiddler | |
choco install -y baretail | |
choco install -y windirstat | |
choco install -y tortoisegit | |
choco install -y autohotkey | |
choco install -y winmerge | |
choco install -y linqpad4 | |
choco install -y diffmerge | |
choco install -y winscp | |
choco install -y putty | |
choco install -y nugetpackageexplorer | |
choco install -y commandwindowhere # Add an "Open Command Window Here" context menu | |
choco install -y wincommandpaste | |
## Programming languages and runtimes | |
choco install -y dotnet4.5 | |
## CLI tools | |
choco install -y vim | |
choco install -y curl | |
choco install -y wget | |
choco install -y git-credential-winstore | |
choco install -y git --params="/GitAndUnixToolsOnPath /NoAutoCrlf'" | |
choco install -y conemu # Terminal emulator | |
choco install -y far # Terminal dual pane file manager | |
choco install -y clink # Readline support for cmd.exe | |
choco install -y poshgit # Enhanced git support in powershell | |
choco install -y pester # BDD tests for powershell | |
choco install -y nssm # Non sucking service manager, run apps as a service | |
choco install -y nmap | |
choco install -y nuget.commandline | |
## Powershell addons | |
choco install -y poshgit # Git powershell integration | |
#Visual studio installations | |
Install-PackageProvider -Name chocolatey | |
Install-Package visualstudio2012professional | |
Install-Package visualstudio2013premium | |
Install-Package visualstudio2015enterprise | |
Install-Package visualstudio2017enterprise | |
# Install TaskBar Pinned items | |
Install-ChocolateyPinnedTaskBarItem "${env:programfiles(x86)}/Google/Chrome/Application/chrome.exe" | |
Install-ChocolateyPinnedTaskBarItem "${env:programfiles(x86)}/vim/vim74/gvim.exe" | |
Install-ChocolateyPinnedTaskBarItem "${env:windir}\system32\WindowsPowerShell\v1.0\PowerShell_ISE.exe" | |
Install-ChocolateyPinnedTaskBarItem "${env:programfiles}\VideoLAN\VLC\vlc.exe" |
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
$BoxName = "DevBox" | |
$BoxScript = "$BoxName.BoxStarter.ps1" | |
START "http://boxstarter.org/package/url?${PSScriptRoot}\${BoxScript}" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment