Skip to content

Instantly share code, notes, and snippets.

@RhysC
Last active May 25, 2016 08:13
Show Gist options
  • Save RhysC/4388961 to your computer and use it in GitHub Desktop.
Save RhysC/4388961 to your computer and use it in GitHub Desktop.
Dev machine PC set up **NB* *: You must have your execution policy set to unrestricted for this to work (Set-ExecutionPolicy Unrestricted). There have been reports that RemoteSigned is enough for the install to workUses Chocolatey and PS-Get to do the heavy lifting TAGS chocolatey setup build
$ErrorActionPreference = "Stop"
Set-ExecutionPolicy RemoteSigned
ECHO "Installing PsGet and PS plugins"
iex ((new-object Net.WebClient).DownloadString("http://psget.net/GetPsGet.ps1"))
Install-Module pscx
Install-Module psake
ECHO "FINISHED - Installing PsGet and PS plugins - FINISHED"
ECHO "Installing Chocolatey and required apps"
iex ((new-object net.webclient).DownloadString('https://chocolatey.org/install.ps1'))
[Environment]::SetEnvironmentVariable("Path", $env:Path + ";" + $env:systemdrive + '\chocolatey\bin', [System.EnvironmentVariableTarget]::Machine )
choco install VisualStudio2013Professional -InstallArguments "WebTools Win8SDK SQL" -y
choco install resharper -y
choco install WindowsAzureLibsForNet -y
#choco install SqlServer2012Express
choco install webpi -y #web platform installer
### GIT ### - Consider changing this to just the Github For Windows package eg >> choco install githubforwindows
WRITE-HOST 'to use ssh you will need to add "C:\Program Files (x86)\Git\bin" to PATH'
WRITE-HOST "https://help.github.com/articles/generating-ssh-keys"
choco install git -y
$gitpath = ""
if(test-path "C:\Program Files (x86)\git\bin"){
$gitpath = "C:\Program Files (x86)\git\bin"
} elseif(test-path "C:\Program Files\git\bin"){
$gitpath = "C:\Program Files\git\bin"
}
[Environment]::SetEnvironmentVariable("Path", $env:Path + ";" + $gitpath, [System.EnvironmentVariableTarget]::Machine )
WRITE-HOST "Run $gitpath\git-bash.exe to set up ssh key"
choco install gitextensions -y
Install-Module posh-git
### END GIT ###
choco install 7zip -y
choco install fiddler -y
choco install curl -y
choco install GoogleChrome -y
choco install Firefox -y
choco install tailblazer -y
choco install phantomjs -y
choco install VirtualCloneDrive -y
choco install adobereader -y
choco install notepadplusplus -y
choco install paint.net -y
choco install linqpad4 -y
choco install PowerGUI -y
choco install beyondcompare -y
choco install filezilla -y
choco install vlc -y
#choco install msbuild.communitytasks
#choco install procmon
#choco install dotPeek
#choco install keepass
#choco install logparser
ECHO "FINISHED - Installing Chocolatey and required apps - FINISHED"
@RhysC
Copy link
Author

RhysC commented May 16, 2016

using PSGet for posh git as per their recommendations (chocolatey failed on last attempt)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment