Skip to content

Instantly share code, notes, and snippets.

@jonfreeland
Last active June 17, 2016 17:01
Show Gist options
  • Save jonfreeland/d406ee27a188b8c1f6bf to your computer and use it in GitHub Desktop.
Save jonfreeland/d406ee27a188b8c1f6bf to your computer and use it in GitHub Desktop.
Boxstarter & Chocolatey Installs
# 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-ExplorerOptions -showHidenFilesFoldersDrives -showProtectedOSFiles -showFileExtensions
Disable-UAC # We re-enable at end of script
Set-TaskbarOptions -Size Small
if (Test-PendingReboot) { Invoke-Reboot }
# Update Windows and reboot if necessary
Install-WindowsUpdate -AcceptEula
if (Test-PendingReboot) { Invoke-Reboot }
cinst GoogleChrome Firefox
cinst 7zip
cinst filezilla
cinst SublimeText3
cinst git TortoiseGit SourceTree
cinst resharper
cinst linqpad
cinst baretail
cinst fiddler4
cinst beyondcompare
cinst adobereader
cinst nodejs.install
cinst webpi
cinst azurestorageexplorer cloudberryexplorer.azurestorage
Enable-UAC