How do I install Nuget provider with no prompts?
I can not somehow successfully force installation Nuget Provider, it always prompts me for confirmation
PS C:\WINDOWS\system32> Install-PackageProvider -Name nuget -Confirm:$false -Verbose -ForceBootstrap VERBOSE: Using the provider 'Bootstrap' for searching packages. VERBOSE: Finding the package 'Bootstrap::FindPackage' 'nuget',",","'. Confirm Are you sure you want to perform this action? Performing the operation "Install Package" on target "Package 'nuget' version '188.8.131.52' from 'https://oneget.org/nuget-184.108.40.206.package.swidtag'.". [Y] Yes [A] Yes to All [N] No [L] No to All [S] Suspend [?] Help (default is "Y"):
This works for me (PSVersion 5.1.14393.0):
Install-PackageProvider -Name NuGet -Force
You must be logged in to reply to this topic.