Skip to content

Instantly share code, notes, and snippets.

@chadr
Last active February 12, 2021 15:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save chadr/8c3f45a0f45617ac79f63a5be8e2c59f to your computer and use it in GitHub Desktop.
Save chadr/8c3f45a0f45617ac79f63a5be8e2c59f to your computer and use it in GitHub Desktop.
Chocolatey Init + Apps
#Requires -RunAsAdministrator
Set-ExecutionPolicy Bypass -Scope Process -Force
# install chocolatey if not installed
if (!(Test-Path -Path "$env:ProgramData\Chocolatey")) {
Invoke-Expression((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment