Skip to content

Instantly share code, notes, and snippets.

@ccollicutt
Created March 25, 2013 22:32
Show Gist options
  • Save ccollicutt/5241449 to your computer and use it in GitHub Desktop.
Save ccollicutt/5241449 to your computer and use it in GitHub Desktop.
$ cat install-chocolatey.bat
REM goto a temp directory
cd %SystemDrive%\windows\temp
cmd /c bitsadmin /transfer InstallChocolateyPS1 /download /priority normal https://raw.github.com/ferventcoder/chocolatey/master/chocolateyInstall/InstallChocolatey.ps1 %SystemDrive%\windows\temp\InstallChocolatey.ps1
cmd /c %windir%\System32\WindowsPowerShell\v1.0\powershell.exe -InputFormat none -NoProfile -ExecutionPolicy unrestricted -Command "& '%SystemDrive%\windows\temp\InstallChocolatey.ps1' %*"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment