-
-
Save fschafer/f04aef74c5d9e19cf8ae to your computer and use it in GitHub Desktop.
BoxStarter-DEV
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
#PS C:\Windows\system32> | |
#Import-Module $env:appdata\boxstarter\Boxstarter.Chocolatey\Boxstarter.Chocolatey.psd1 | |
#Invoke-ChocolateyBoxstarter https://gist.githubusercontent.com/fschafer/f04aef74c5d9e19cf8ae/raw/a06b630d2c4843b283b32db38f95d5c662de3e26/BoxStarter-DEV | |
# 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 Unrestricted | |
Set-WindowsExplorerOptions -EnableShowHiddenFilesFoldersDrives -EnableShowProtectedOSFiles -EnableShowFileExtensions -EnableShowFullPathInTitleBar | |
Enable-RemoteDesktop | |
#Disable-InternetExplorerESC # Enable Internet Explorer acces on Windows Server | |
Disable-UAC | |
Set-TaskbarOptions -Size Large -Lock -Dock Left #Small | |
if (Test-PendingReboot) { Invoke-Reboot } | |
# Update Windows and reboot if necessary | |
Install-WindowsUpdate -AcceptEula | |
if (Test-PendingReboot) { Invoke-Reboot } | |
# Install Visual Studio 2013 Professional | |
choco install visualstudio2013premium -InstallArguments "/Features:''" # -InstallArguments WebTools | |
if (Test-PendingReboot) { Invoke-Reboot } | |
# Visual Studio SDK required for PoshTools extension | |
#choco install VS2013SDK | |
#if (Test-PendingReboot) { Invoke-Reboot } | |
choco install vs2013.4 #Update 4 for VS2013 | |
#SQL Server Express | |
choco install sqlserver2014express | |
choco upgrade sqlserver2014express | |
#choco install DotNet3.5 # Not automatically installed with VS 2013. Includes .NET 2.0. Uses Windows Features to install. | |
#if (Test-PendingReboot) { Invoke-Reboot } | |
# VS extensions | |
#Install-ChocolateyVsixPackage PowerShellTools http://visualstudiogallery.msdn.microsoft.com/c9eb3ba8-0c59-4944-9a62-6eee37294597/file/112013/6/PowerShellTools.vsix | |
#Install-ChocolateyVsixPackage WebEssentials2013 http://visualstudiogallery.msdn.microsoft.com/56633663-6799-41d7-9df7-0f2a504ca361/file/105627/31/WebEssentials2013.vsix | |
#Install-ChocolateyVsixPackage T4Toolbox http://visualstudiogallery.msdn.microsoft.com/791817a4-eb9a-4000-9c85-972cc60fd5aa/file/116854/1/T4Toolbox.12.vsix | |
Install-ChocolateyVsixPackage StopOnFirstBuildError http://visualstudiogallery.msdn.microsoft.com/91aaa139-5d3c-43a7-b39f-369196a84fa5/file/44205/3/StopOnFirstBuildError.vsix | |
# AWS Toolkit is now an MSI available here http://sdk-for-net.amazonwebservices.com/latest/AWSToolsAndSDKForNet.msi (no chocolatey package as of FEB 2014) | |
# Install-ChocolateyVsixPackage AwsToolkit http://visualstudiogallery.msdn.microsoft.com/175787af-a563-4306-957b-686b4ee9b497 | |
#Other dev tools | |
choco install fiddler4 | |
choco install beyondcompare | |
choco install ProcExp #choco install sysinternals | |
choco install NugetPackageExplorer | |
choco install windbg | |
choco install Devbox-Clink | |
#choco install TortoiseHg | |
#choco install VisualHG # Chocolatey package is corrupt as of Feb 2014 | |
#choco install linqpad4 | |
choco install TestDriven.Net | |
choco install ncrunch2.vs2013 | |
choco install sublimetext3 | |
choco install dotpeek | |
#Browsers / web | |
choco install googlechrome | |
choco install firefox | |
choco install curl | |
#Other essential tools | |
choco install 7zip | |
choco install adobereader | |
choco install javaruntime | |
choco install sharpkeys | |
#cinst Microsoft-Hyper-V-All -source windowsFeatures | |
#cinst IIS-WebServerRole -source windowsfeatures | |
#cinst IIS-HttpCompressionDynamic -source windowsfeatures | |
#cinst IIS-ManagementScriptingTools -source windowsfeatures | |
#cinst IIS-WindowsAuthentication -source windowsfeatures | |
Install-ChocolateyPinnedTaskBarItem "$($Boxstarter.programFiles86)\Google\Chrome\Application\chrome.exe" | |
Install-ChocolateyPinnedTaskBarItem "$($Boxstarter.programFiles86)\Microsoft Visual Studio 12.0\Common7\IDE\devenv.exe" | |
#Cleanup the disk | |
# Remove update un-installers | |
Dism.exe /online /Cleanup-Image /StartComponentCleanup /ResetBase | |
# Clean the disk | |
C:\Windows\System32\cleanmgr.exe /d c: | |
#Defrag | |
Optimize-Volume -DriveLetter C | |
#sdelete -> fill empty with 0 | |
wget http://download.sysinternals.com/files/SDelete.zip -OutFile sdelete.zip | |
[System.Reflection.Assembly]::LoadWithPartialName("System.IO.Compression.FileSystem") | |
[System.IO.Compression.ZipFile]::ExtractToDirectory("sdelete.zip", ".") | |
./sdelete.exe -z c: | |
#VBoxManage modifyhd --compact "[drive]:\[path_to_image_file]\[name_of_image_file].vdi" | |
Boxstarter |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment