Skip to content

Instantly share code, notes, and snippets.

@bendras
Last active August 29, 2015 14:23
Show Gist options
  • Save bendras/ccbab7a9af2dc9a27fc1 to your computer and use it in GitHub Desktop.
Save bendras/ccbab7a9af2dc9a27fc1 to your computer and use it in GitHub Desktop.
$wu = Get-Service -Name wuauserv
$wu | Set-Service -StartupType Manual | Stop-Service
cinst DotNet4.5.1 -y
if (Test-PendingReboot) { Invoke-Reboot }
cinst vs2013.4-ultimate-iso -ia "/Features:'WebTools SQL'" -y
if (Test-PendingReboot) { Invoke-Reboot }
$wu | Start-Service
cinst DotNet3.5 -y
cinst powershell -y
$wu | Stop-Service
if (Test-PendingReboot) { Invoke-Reboot }
cinst MsSqlServer2014Express -y -version 12.0.2000.8
if (Test-PendingReboot) { Invoke-Reboot }
cinst MsSqlServerManagementStudio2014Express -y -version 12.0.2000.8
if (Test-PendingReboot) { Invoke-Reboot }
cinst googlechrome -y
cinst 7zip -y
cinst sumatrapdf.install -y
cinst IIS-WebServerRole -source windowsfeatures
cinst WordViewer -y
cinst PowerPointViewer -y
cinst FileFormatConverters -y
cinst skillpipereader -y
if (Test-PendingReboot) { Invoke-Reboot }
cinst MsSqlServerSchoolSampleDatabase -y
cinst EntityFrameworkPowerTools-VS2013 -y
cinst ILSpy -version 2.3.0.1827 -y
cinst git -y
cinst poshgit -y
cinst git-credential-winstore -y
Install-ChocolateyPinnedTaskBarItem "$($Boxstarter.programFiles86)\Google\Chrome\Application\chrome.exe" -ErrorAction SilentlyContinue
Install-ChocolateyPinnedTaskBarItem "$($Boxstarter.programFiles86)\Microsoft Visual Studio 12.0\Common7\IDE\devenv.exe" -ErrorAction SilentlyContinue
Install-ChocolateyPinnedTaskBarItem "$($Boxstarter.programFiles86)\Microsoft SQL Server\120\Tools\Binn\ManagementStudio\Ssms.exe" -ErrorAction SilentlyContinue
Install-ChocolateyPinnedTaskBarItem "$env:ChocolateyInstall\lib\ILSpy.2.3.0.1827\tools\ILSpy.exe" -ErrorAction SilentlyContinue
# Set the last used template on the New Project dialog in VS to the C# node
New-Item -Path HKCU:\Software\Microsoft\VisualStudio\12.0 -Name NewProjectDialog -ea SilentlyContinue
Set-ItemProperty -Path HKCU:\Software\Microsoft\VisualStudio\12.0\NewProjectDialog -Name LastUsedTemplateNameProject -Value "Console Application"
Set-ItemProperty -Path HKCU:\Software\Microsoft\VisualStudio\12.0\NewProjectDialog -Name LastUsedTemplateNodeProject -Value "Templates\Visual C#"
Set-WindowsExplorerOptions -EnableShowFileExtensions
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment