Skip to content

Instantly share code, notes, and snippets.

@davidalpert
Created April 17, 2011 05:45
Show Gist options
  • Save davidalpert/923786 to your computer and use it in GitHub Desktop.
Save davidalpert/923786 to your computer and use it in GitHub Desktop.
Powershell one-liner loops recursively tghrough the current folder calling 'nuget install' on each packages.config under the current location.
Get-ChildItem . -Recurse -Filter packages.config | ForEach ($_) {$configPath = $_.FullName;Write-Host;Write-Host "Reading $configPath"; nuget install $configPath -OutputDirectory .\packages}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment