Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

View richardnagle's full-sized avatar

Richard Nagle richardnagle

  • Amersham, United Kingdom
View GitHub Profile
@richardnagle
richardnagle / nuget-package-update.ps1
Created July 14, 2017 16:51
Powershell script for updating nuget packages
Param(
[string]$nugetTarget,
[string]$nugetUrl
)
Write-Host "Getting installed packages from packages.configs"
$installedPackages = Get-ChildItem -path '.' -Recurse -Include 'packages.config' |
Select-Xml -xpath '//package/@id' |
Select-Object -ExpandProperty Node |