Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Install Nuget if it's not already there - haven't tested this yet
<# Install Nuget for Allusers if it's not already there #>if (-not (Get-PackageProvider -Name NuGet -ListAvailable -ErrorAction:SilentlyContinue )) { Install-PackageProvider -Name NuGet -Force -Scope AllUsers }
# modified from
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment