Skip to content

Instantly share code, notes, and snippets.

@dcode
Created August 5, 2020 21:44
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 dcode/651913eaad3e05c3f0541cc67a7c61a6 to your computer and use it in GitHub Desktop.
Save dcode/651913eaad3e05c3f0541cc67a7c61a6 to your computer and use it in GitHub Desktop.
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12;
Invoke-WebRequest https://github.com/google/googet/releases/download/v2.13.0/googet.exe -OutFile $env:temp\googet.exe;
& "$env:temp\googet.exe" -root C:\ProgramData\GooGet -noconfirm install -sources `
https://packages.cloud.google.com/yuck/repos/google-compute-engine-stable googet;
Remove-Item "$env:temp\googet.exe"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment