Skip to content

Instantly share code, notes, and snippets.

@ianblenke
Created December 3, 2014 22:06
Show Gist options
  • Save ianblenke/88a44731e83fa57abe3c to your computer and use it in GitHub Desktop.
Save ianblenke/88a44731e83fa57abe3c to your computer and use it in GitHub Desktop.
Powershell install and use OneGet
# Install Microsoft's OneGet and start using it
icm $executioncontext.InvokeCommand.NewScriptBlock((New-Object Net.WebClient).DownloadString('https://gist.githubusercontent.com/ianblenke/27f29e3a4a64f0296abe/raw/428e4a8f043d67a1ecce764c1173856f7b1002be/Update-OneGet.ps1')) -ArgumentList $home\Documents\WindowsPowerShellModules\OneGet
Import-Module $home\Documents\WindowsPowerShellModules\OneGet\OneGet.psd1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment