Skip to content

Instantly share code, notes, and snippets.

@rroman81
Last active November 27, 2018 01:04
Show Gist options
  • Save rroman81/cf875877c21e572aae75 to your computer and use it in GitHub Desktop.
Save rroman81/cf875877c21e572aae75 to your computer and use it in GitHub Desktop.
boxstarter script to be used to provision basic tools for the developer workstation
# Allow reboots
$Boxstarter.RebootOk=$false
$Boxstarter.NoPassword=$false
$Boxstarter.AutoLogin=$false
# #Essentials
Update-ExecutionPolicy Unrestricted
# Modify explorer options to Show All Files and extensions
Set-ExplorerOptions -showHidenFilesFoldersDrives -showProtectedOSFiles -showFileExtensions
# Enable-RemoteDesktop
# Disable-InternetExplorerESC
# Disable-UAC
# Set-TaskbarSmall
if (Test-PendingReboot) { Invoke-Reboot }
# Update Windows and reboot if necessary
Install-WindowsUpdate -AcceptEula
if (Test-PendingReboot) { Invoke-Reboot }
#Essential Dev Tools
cinst 7zip -y
cinst cpu-z -y
cinst adobereader -y
cinst jdk8 -y
cinst ditto -y
cinst notepadplusplus -y
cinst VisualStudioCode -y
cinst git -y
cinst nodejs-lts -y
cinst ruby -y
cinst poshgit -y
cinst sysinternals -y
#Browsers
cinst googlechrome -y
cinst firefox -y
# Configurations
## Replace Task Manager with Systeinternals
$appData = [environment]::GetFolderPath([environment+specialfolder]::CommonApplicationData)
$procExpExecutionPath = Join-Path (Join-Path $appData "chocolatey\bin") "procexp.exe"
if (Test-Path $procExpExecutionPath) {
&"$($procExpExecutionPath)" /rt
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment