Skip to content

Instantly share code, notes, and snippets.

@jincod
Created March 18, 2017 08:04
Show Gist options
  • Save jincod/ee10c5f9355a1c197707cfe9e8678baf to your computer and use it in GitHub Desktop.
Save jincod/ee10c5f9355a1c197707cfe9e8678baf to your computer and use it in GitHub Desktop.
Invoke-WebRequest https://api.github.com/gists/b40b003fd360823c8890 | ConvertFrom-Json | ForEach-Object { $_.file
s.psobject.properties.Value.raw_url } | ForEach-Object {Invoke-WebRequest $_ -OutFile $(Split-Path -Path $_ -Leaf) }
. { iwr -useb https://gist.github.com/jincod/4f183172e46a64179a12/raw/d28d76d8186d8e10b5dee0ee60ca1dcdb341b663/default.ps1 } | iex;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment