Skip to content

Instantly share code, notes, and snippets.

@rdehuyss
Last active February 17, 2016 14:27
Show Gist options
  • Save rdehuyss/4544cc25dc36997758e5 to your computer and use it in GitHub Desktop.
Save rdehuyss/4544cc25dc36997758e5 to your computer and use it in GitHub Desktop.
http://boxstarter.org/package/nr/url?https://gist.githubusercontent.com/rdehuyss/4544cc25dc36997758e5/raw/setup-constructiv-buildserver.ps1
http://boxstarter.org/package/nr/url?https://gist.githubusercontent.com/rdehuyss/4544cc25dc36997758e5/raw/setup-constructiv-devpc.ps1
# TeamCity e.d.
cinst teamcity
cinst jdk8
if (!(Test-Path -Path C:\ProgramData\JetBrains\TeamCity )) {
mkdir C:\ProgramData\JetBrains\TeamCity
if (!(Test-Path -Path C:\ProgramData\JetBrains\TeamCity\Plugins )) {
mkdir C:\ProgramData\JetBrains\TeamCity\Plugins
}
}
(New-Object System.Net.WebClient).DownloadFile('https://download.octopusdeploy.com/octopus-teamcity/3.2.0.50/Octopus.TeamCity.zip','C:\ProgramData\Jetbrains\TeamCity\Plugins\Octopus.TeamCity.zip')
net stop TeamCity
net start TeamCity
cinst microsoft-build-tools
cinst teamcityagent -params "serverurl=http://localhost:8111/"
cinst octopusdeploy
cinst 7zip
cinst GoogleChrome
cinst nodejs
cinst git
#cinst sublimetext3
cinst ditto
cinst notepadplusplus
cinst mremoteng
cinst lockhunter
cinst TelnetClient -source windowsFeatures
# Install SQL Server 2014 Express
cinst mssqlserver2014express
if (Test-PendingReboot) { Invoke-Reboot }
# Install DotNet 3.5 (error in dependendies of )
cinst --force dotnet3.5
if (Test-PendingReboot) { Invoke-Reboot }
# Install SQL Server Management Studio 2014 Express
cinst mssqlservermanagementstudio2014express
if (Test-PendingReboot) { Invoke-Reboot }
# Install Visual Studio 2015
cinst VisualStudio2015Professional -version 14.0.23107.0
cinst resharper
if (Test-PendingReboot) { Invoke-Reboot }
Set-WindowsExplorerOptions -EnableShowHiddenFilesFoldersDrives -EnableShowProtectedOSFiles -EnableShowFileExtensions
Enable-RemoteDesktop
Set-TaskbarOptions -Size Small -Lock -Dock Bottom
# Update Windows and reboot if necessary
Install-WindowsUpdate -AcceptEula
if (Test-PendingReboot) { Invoke-Reboot }
# 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
# Windows Update And Settings
Install-BoxstarterPackage -PackageName https://gist.githubusercontent.com/rdehuyss/4544cc25dc36997758e5/raw/setup-constructiv-devpc-windows.ps1
# Common Tools
Install-BoxstarterPackage -PackageName https://gist.githubusercontent.com/rdehuyss/4544cc25dc36997758e5/raw/setup-constructiv-devpc-common-tools.ps1
# SQL Server 2014
Install-BoxstarterPackage -PackageName https://gist.githubusercontent.com/rdehuyss/4544cc25dc36997758e5/raw/setup-constructiv-devpc-sql-server.ps1
# Install Visual Studio 2015
Install-BoxstarterPackage -PackageName https://gist.githubusercontent.com/rdehuyss/4544cc25dc36997758e5/raw/setup-constructiv-devpc-visualstudio.ps1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment