Skip to content

Instantly share code, notes, and snippets.

@lukencode
Last active August 29, 2015 14:08
Show Gist options
  • Save lukencode/2d09b53dbc457f4b8a2a to your computer and use it in GitHub Desktop.
Save lukencode/2d09b53dbc457f4b8a2a to your computer and use it in GitHub Desktop.
Boxstarter
#####################
# BEGIN CONFIGURATION
#####################
# 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
#region Initial Windows Config
Update-ExecutionPolicy Unrestricted
Set-WindowsExplorerOptions -EnableShowHiddenFilesFoldersDrives -EnableShowProtectedOSFiles -EnableShowFileExtensions -EnableShowFullPathInTitleBar
Enable-RemoteDesktop
Disable-InternetExplorerESC
Disable-UAC
if (Test-PendingReboot) { Invoke-Reboot }
# Update Windows and reboot if necessary
Install-WindowsUpdate -AcceptEula
if (Test-PendingReboot) { Invoke-Reboot }
#endregion
#region Add some windows extras
cinst IIS-WebServerRole -source windowsfeatures
cinst TelnetClient -source windowsFeatures
cinst IIS-HttpCompressionDynamic -source windowsfeatures
cinst IIS-ManagementScriptingTools -source windowsfeatures
cinst IIS-WindowsAuthentication -source windowsfeatures
cinst Microsoft-Hyper-V-All -source windowsFeatures
#endregion
# Frameworks and Runtimes
cinst PowerShell
cinst DotNet4.0
cinst DotNet4.5
cinst DotNet4.5.1
cinst mono
cinst javaruntime
cinst AdobeAIR
# Dev Tools
cinst git.install
cinst githubforwindows
cinst papercut
cinst linqpad4
cinst cmder
cinst fiddler4
cinst nodejs
cinst Atom
cinst NugetPackageExplorer
# browsers
cinst GoogleChrome
#Useful Tools
cinst 7zip.install
cinst paint.net
#Personal PC Apps
cinst steam
cinst dropbox
Install-ChocolateyPinnedTaskBarItem "$($Boxstarter.programFiles86)\Google\Chrome\Application\chrome.exe"
Install-WindowsUpdate -acceptEula
if (Test-PendingReboot) { Invoke-Reboot }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment