Chocolatey machine setup

https://gist.github.com/chrismckelt/3884f94078a7bd3a773b

 

#Administrator privileges check If (-NOT ([Security.Principal.WindowsPrincipal] [Security.Principal.WindowsIdentity]::GetCurrent()).IsInRole(` [Security.Principal.WindowsBuiltInRole] Administrator)) { WriteWarning You do not have Administrator rights!`nPlease run the build shell as administrator! exit } $scriptPath = $MyInvocation.MyCommand.Path $scriptDirectory = SplitPath $scriptPath $customDir = ResolvePath (JoinPath ($scriptDirectory) ..\) cd $customDir mkdir c:\software mkdir c:\downloads mkdir c:\temp WriteHost Welcome to chrismckelts Chocolatey install WriteHost ——————————— getitem $*.bat WriteHost ——————————— ECHO Installing PsGet and PS plugins (newobject Net.WebClient).DownloadString(http://psget.net/GetPsGet.ps1) | iex InstallModule pscx InstallModule psake ECHO FINISHED – Installing PsGet and PS plugins – FINISHED ECHO Installing Chocolatey and required apps iex ((newobject net.webclient).DownloadString(https://chocolatey.org/install.ps1)) [Environment]::SetEnvironmentVariable(Path, $env:Path + ; + $env:systemdrive + ‘\chocolatey\bin’, [System.EnvironmentVariableTarget]::Machine ) choco feature enable n=allowGlobalConfirmation choco install dotnet4.5 choco install 7zip choco install slickrun choco install fiddler choco install curl choco install GoogleChrome #choco install Firefox choco install grepwin choco install ConEmu choco install notepadplusplus choco install paint.net choco install linqpad choco install PowerGUI choco install P4Merge choco install clover choco install fiddler choco install sourcetree choco install googledrive choco install vlc choco install nodejs.install choco install msbuild.communitytasks choco install procmon choco install dotPeek choco install keepass #choco install logparser1 #choco install VirtualCloneDrive choco install foxitreader choco install gitcredentialwinstore choco install mRemoteNG #$webclient = New-Object Net.WebClient # $url = ‘http://download.microsoft.com/download/E/A/3/EA38D9B8-E00F-433F-AAB5-9CDA28BA5E7D/FSharp_Bundle.exe’ # $webclient.DownloadFile($url, “$pwd\FSharp_Bundle.exe”) .\FSharp_Bundle.exe /install /quiet ECHO FINISHED – Installing Chocolatey and required apps – FINISHED

2 thoughts on “Chocolatey machine setup

  1. Chris

    I got your name as a referral and I am interested in talking to you about Software Developer roles I am recruiting for. Can you call me when you have a chance on 92547014.

    Regards

    Robbie

Comments are closed.