Instantly share code, notes, and snippets.

Embed
What would you like to do?
PS /home/cjac> cjac@xenial0:~$ sudo powershell
[sudo] password for cjac:
PowerShell
Copyright (C) 2016 Microsoft Corporation. All rights reserved.
PS /home/cjac> Install-PackageProvider -Name NuGet -RequiredVersion 2.8.5.201 -Force
Install-PackageProvider : No match was found for the specified search criteria
for the provider 'NuGet'. The package provider requires 'PackageManagement'
and 'Provider' tags. Please check if the specified package has the tags.
At line:1 char:1
+ Install-PackageProvider -Name NuGet -RequiredVersion 2.8.5.201 -Force
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidArgument: (Microsoft.Power...PackageProvi
der:InstallPackageProvider) [Install-PackageProvider], Exception
+ FullyQualifiedErrorId : NoMatchFoundForProvider,Microsoft.PowerShell.Pac
kageManagement.Cmdlets.InstallPackageProvider
PS /home/cjac>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment