-
-
Save benoit74/7d98ed4b958804cac4d8 to your computer and use it in GitHub Desktop.
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 | |
#START http://boxstarter.org/package/nr/url?https://gist.githubusercontent.com/benoit74/7d98ed4b958804cac4d8/raw/3195b11b6e533a0df33b950d706ec15e30f38805/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 # Disabled since it does not allow to start further BoxStarter thru URL | |
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 | |
# Visual Studio SDK required for PoshTools extension | |
#choco install VS2013SDK | |
#if (Test-PendingReboot) { Invoke-Reboot } | |
# choco install vs2013.4 #Update 4 for VS2013 | |
# Install Visual Studio 2015 Enterprise | |
# Available features: | |
# - LightSwitch | |
# - MDDCPlusPlus | |
# - MDDJS | |
# - OfficeDeveloperTools | |
# - SilverLightDeveloperKit | |
# - SQL | |
# - ToolsForWin81WP80WP81 | |
# - VCMFCLibraries | |
# - WindowsPhone81Emulators | |
choco install visualstudioenterprise2015 -pre -packageParameters "/Features:SQL,WindowsPhone81Emulators,ToolsForWin81,ToolsForWP80,ToolsForWP81" | |
if (Test-PendingReboot) { Invoke-Reboot } | |
#SQL Server Express | |
choco install mssqlserver2014express | |
choco install mssqlservermanagementstudio2014express | |
#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 | |
Install-ChocolateyVsixPackage Specflow http://visualstudiogallery.msdn.microsoft.com/9915524d-7fb0-43c3-bb3c-a8a14fbd40ee/file/79327/7/TechTalk.SpecFlow.Vs2010Integration.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 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 #not available for vs2015 for now | |
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