Created
February 23, 2012 15:15
-
-
Save duncansmart/1893251 to your computer and use it in GitHub Desktop.
Script to download Nuget packages
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$http = new-object System.Net.WebClient | |
$feed = [xml]$http.DownloadString("https://nuget.org/api/v2/Packages") | |
$feed.feed.entry | % { | |
$http.DownloadFile($_.content.src, ("C:\temp\"+ $_.title.InnerText + "." + $_.Properties.Version +".nupkg")) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Just for fun ;-)